Closed Arian04 closed 1 year ago
Solution 1 seems difficult from the minimal research I've done, so I'm planning on just going with solution 2.
setting android:digits=""
fixes all mentioned issues, but, since the keys aren't echoed into the EditText, the textwatcher doesn't trigger. onKeyDown doesn't trigger either, so most input is broken (except arrow keys ironically).
KeyListener works perfectly for this, the change will be committed and pushed once the code is cleaned up. I think previously I tried using onKeyListener which (I believe) didn't work, and I didn't try KeyListener since I didn't realize it was different from onKeyListener.
Fixed in 95484db3cab5ecce0eaa9c293a02af325f8a6432 by changing the way I detect key presses
Current situation: The user focuses an EditText (Labeled "Direct Input") and types into it. A textwatcher compares changes between the contents of the EditText after each change in the text and sends it. The intended use is for the user to keep typing characters without ever tapping on the EditText to move their cursor, as that would mess up the output.
Current issues with this:
Proposed solutions: