I would like to restrict the EditText entry with a certain value (not maxlength).
Example - MaxValue is $100.
Possible maximum value inputs are 100, 100.0, 100.00
So I cannot restrict it with maxlength.
Is it possible to restrict when the user enters the value?
or checking the value if(edittextvalue>100)
on TextChangeListener is the only option?
Yes,You should use
TextWatcher
. I hope this is best way .onTextChanged