IntlPhoneInput
IntlPhoneInput copied to clipboard
how to set error message to field if number is not valid
if number id not valid then how to set error message my previous field was showing error as phoneNumber.setError(getString(R.string.error_invalid_phone));
enclose this IntlPhoneInput view in TextInputLayout. And then use the error showing mechanism of the TextInputLayout. I have used it and it is working quite well. If you face any problem ping back. Happy coding :) @nisarkhalid