android.text.TextUtils.isDigitsOnly("")
I use the code above to check the input string - is it a valid number or not, but the isDigitOnly() function isDigitOnly() true for an empty string.
How to make it return false for an empty string or is there another Android build function?
Rahul source share