I have an EditText in android for users to input their AGE. It is set an inputType=phone. I would like to know if there is a way to check if this EditText is null>
I use this method for same works:
public boolean checkIsNull(EditText... editTexts){ for (EditText editText: editTexts){ if(editText.getText().length() == 0){ return true; } } return false; }