How do you check if an EditText is empty? input type number
package com.example.www.myappl
Try this:
if(TextUtils.isEmpty(editText.getText().toString())){ //Do }