setText() without calling onTextChanged()
- by user1537779
Is there a way I can set text to an EditTextView, but not trigger its onTextChanged() or afterTextChanged().
In onTextChanged(), I am making a server call to get autocompletes. But once the user selects from the dropdown, I want to set text to the EditTextView, but it again calls the server and shows the dropdown.
While I can have a flag not to make server call when selected from dropdown, using the onItemClick() on dropdown(ListView). How can I remove the flag again, if the user tried to edit the text later.