Answers for "mobile number validation to edittext in android"

0

mobile number validation to edittext in android

public boolean isValidPhone(CharSequence phone) {
if (TextUtils.isEmpty(phone)) {
return false;
} else {
return android.util.Patterns.PHONE.matcher(phone).matches();
}
}
Posted by: Guest on September-30-2020

Code answers related to "mobile number validation to edittext in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language