I have a ListView with an EditText on each row working.
I need to select this text on click the edittext to write numbers without erasing or moving the cursor.
Using selectAllonfocus at first works. However, after scrolling the listview, the EditText got crazy and selection doesn’t work correctly.
If I execute selectAll in the listener onFocus, then when a touch is made the contextmenu (select word, select all,etc) is shown instead of the selection.
If someone can help.
Thanks.
What I can say about what I asked is that trying to select all text of the listview edittexts don’t work properly.
So instead of select the text, I show a dialog where the user selects the number or whatever.