I\'m using Android\'s AutoCompleteTextView with a CursorAdapter to add autocomplete to an app. In the view\'s onItemClickListener() (i.e.
AutoCompleteTextView
CursorAdapter
onItemClickListener()
Different approach. I agreed dismissDropDown() works but in my case, it wasn't working as expected. So, I used:
dismissDropDown()
autoCompleteTextView.setDropDownHeight(0);
And if you want to show the dropdown list again, you an use
autoCompleteTextView.setDropDownHeight(intValue);