I am new member on this excellent forum.
I have a problem and I literally checked every page that google found me about this method, to no avail.
I have AutoCompleteTextView and a button that uses setText() for a fast text input with a preset text (it sets the text on the AutoCompleteTextView). Now that works good but the drop-down list shows up, and this is annoying - because it makes no sense, the text is already entered and the drop-down list shows only the same entry. I want to block the drop-down list in case the text is entered by setText().
AutoCompleteTextView has a dismissDropDown() method (and isPopupShowing()), but calling this method right after setText will not hide the drop-down list, because it's not shown yet. The drop-down list is delayed, so that the call has no effect. I was not able to find an event that's called after the drop-down list is displayed... (TextChangedListener with all it's methods is called before the drop-down list).
Thank you for your help.