How do you check if an EditText is empty? input type number
package com.example.www.myappl
Hey I am using like this in kotlin
val input = editText?.text.toString().trim() if (input.isNullOrBlank()) { //Your code for blank edittext }
Hope this will help you..let me know if any issue....