I have an EditText. I want that whenever user press enter key, automatically insert a number(incremental numbers). Should I use TextWatcher interface or OnEditorActionListener ? If I use TextWatcher, how to recognize enter key.
I do this, but nothing happened.