Vivek Modi
11/22/2021, 2:30 PM0111 user will not allow displaying in edit text. only 111 is allowed
Allow zero at middle
1101 it can allow zero in middle.
Rahul Rawat
11/22/2021, 3:02 PMVivek Modi
11/22/2021, 3:05 PMrook
11/22/2021, 4:43 PMEditText
can have onTextChanged
listeners attached to it. I’d use that along with String.first() == '0'
to solve your problem.ephemient
11/22/2021, 10:46 PMephemient
11/22/2021, 10:47 PMrook
11/23/2021, 6:46 PMonFocusChangeListener
might be better