Prevent AutoCompleteTextView dropdown from appearing
**The intro**

I am using `AutoCompleteTextView` in one of my project. The data is brought in the adapter from a cursor using `runQueryOnBackgroundThread`. My layout consists in the AutoComplete TextView (3 letter threshold) and a button with Search. Basically the user has 2 choices: fast type search term and press Search button or Type a bit slower and wait for the dropdown to offer suggestions.

**The problem**

Sometimes when the user quickly presses the Search button, the dropdown of the AutocompleteTextView is displayed while is not needed anymore. Is there a way for me, on Search button onClick() to:
1. stop the `runQueryOnBackgroundThread`
2. prevent/disable the display of dropdown
Prevent AutoCompleteTextView dropdown from appearing
===

**The intro**

I am using `AutoCompleteTextView` in one of my project. The data is brought in the adapter from a cursor using `runQueryOnBackgroundThread`. My layout consists in the AutoComplete TextView (3 letter threshold) and a button with Search. Basically the user has 2 choices: fast type search term and press Search button or Type a bit slower and wait for the dropdown to offer suggestions.

**The problem**

Sometimes when the user quickly presses the Search button, the dropdown of the AutocompleteTextView is displayed while is not needed anymore. Is there a way for me, on Search button onClick() to:
1. stop the `runQueryOnBackgroundThread`
2. prevent/disable the display of dropdown