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:
Using Kotlin Language,
EXAMPLE CODE
login_ID.setOnClickListener { if(email_address_Id.text.isEmpty()){ email_address_Id.error = "Please Enter Email Address" } if(Password_ID.text.isEmpty()){ Password_ID.error = "Please Enter Password" } }