Hi,
I need to do something when the user change the cursor position in an editText.
There is natively no event to handle the cursor changing position in an Edit text (it just handle the text and focus changing).
I found a workaround by adding a timer, that will check the SelectionStart every 400ms.
B4X:
Sub Timer1_Tick
If edttxtBot.SelectionStart <> lastCursorPosition Then
Log ("cursor change")
lastCursorPosition = edttxtBot.SelectionStart
End If
End Sub