problem description
now there is a requirement to listen only for content changes caused by keyboard input in EditText, while ignoring text changes caused by setText ()
.
desired effect:
- enter a paragraph of text through the keyboard: the listener is called
- call
setText ("aaaa")
: the listener is not called
and TextWatcher
is called in both cases.
is there a correct solution to achieve the above results?