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>
editText.length() usually works for me try this one
if((EditText) findViewByID(R.id.age)).length()==0){ //do whatever when the field is null` }