I want to show error if the user enters blank value in the edittext.But i am not getting the way how could i do this .This is how i want like this:
if(TextUtils.isEmpty(firstName.getText().toString()){ firstName.setError("TEXT ERROR HERE"); }
Or you can also use TextInputLayout which has some useful method and some user friendly animation