I have an AutoCompleteTextView in my layout. I also have an alternative way to select the same items which are present in the AutoCompleteTextView. When the alternative way is
This works fine for me and is less complex:
ListAdapter adapter = autoCompleteTextView.getAdapter(); autoCompleteTextView.setAdapter(null); autoCompleteTextView.setText("whatever"); autoCompleteTextView.setAdapter(adapter);