Reputation: 3004
I want that on each key press I require to change the Counter some what similar to Tweeter Thing but the issue is that OnEditorActionListener
only calls for the change while the user presses Enter or Done key, Please Can I Find a Resolution for this
Upvotes: 1
Views: 2793
Reputation: 193814
You could use an OnKeyListener
if you do really want to catch keystrokes.
However, if what you're really interested in is knowing when the text in an EditText
View has changed you might find it easier to use a TextWatcher
. You would put your code which updates something based on the context of the EditText
in the afterTextChanged()
method.
Upvotes: 4