+ 1
How can I get the last character before cursor position in a edittext view?
I am developing a simple Android math calculator. if the user changes the position of the cursor, I want to check the character that is just before cursor, so I can assign some command to some buttons in the app.
2 ответов
+ 1
On a 3 seconds search in Google - literally - I found this article:
https://stackoverflow.com/questions/6900408/get-cursor-position-in-android-in-edit-text
Mind knowing that almost every question has an answer in Google.
0
Eldar Bakerman
thanks, I've already got the answer