Created
August 26, 2015 13:58
-
-
Save devrath/f721f196c6923450eb75 to your computer and use it in GitHub Desktop.
Email and WebUrl Validation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!android.util.Patterns.EMAIL_ADDRESS.matcher(emailId).matches()){ | |
inputemail.setError(inputemail.getResources().getString(R.string.mail_Id_invalid)); | |
valid = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment