📅  最后修改于: 2022-03-11 14:52:39.808000             🧑  作者: Mango
public boolean isValidPhone(CharSequence phone) {
if (TextUtils.isEmpty(phone)) {
return false;
} else {
return android.util.Patterns.PHONE.matcher(phone).matches();
}
}