Skip to content

Instantly share code, notes, and snippets.

@shahharshil0
Created June 14, 2020 08:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shahharshil0/15a577f27227f338532e19ef39476983 to your computer and use it in GitHub Desktop.
Save shahharshil0/15a577f27227f338532e19ef39476983 to your computer and use it in GitHub Desktop.
if(TextInputEditText.isNotNullOrEmpty("This field is required") and
(TextInputEditText.isNotNullOrEmpty("This field is required")) {
//this will be executed only if the TextInputEditText contains
// some text else error will be displayed by the extension function itself
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment