Answers for "how to add text input 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 text input in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language