android - Two Edittext validations -
I have two editors on one screen, with a maximum length of 11 n other 12.
Now I want to follow the beliefs on these two editorial topics.
1. Only the value of 1 editor should be passed on the next screen. It is mandatory .. The value of only one should be passed on the next screen. 2. If a user starts entering any of the edits, they should be forced to enter 11 or 12 digits in the respective related edits.
This verification has to be done by clicking the button on the screen.
Any thoughts?
You should use the EditText onChangeListener to reuse the letters Each time the user enters any text, each time the
onChangeListener is triggered for your editing text widget, calculates the number of characters and enables or disables that button Which runs on the next screen based on the calculation of the character.
Comments
Post a Comment