Answers for "how to add * on require field in android"

0

how to make a text field required in android studio

if(TextUtils.isEmpty(eventEdit.getText()))
{
  eventEdit.setError(" Please Enter Event Name ");
}else {
  //proceed with operation
}
Posted by: Guest on July-01-2020

Code answers related to "how to add * on require field in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language