I have achieved a delete function keys, is click a button to delete a character in EditText, and is
Deleted from the back, but to no character when deleted, then click the Delete button on the collapse of the program, I think it is
No additional judge, former judge whether the character cursor, if there can be deleted, if not you can not be deleted, but this
How to judge I can not write, who can help me to write, is to determine whether the character of the method.<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
if (editText.length () == 0) {
}
No comments:
Post a Comment