0

I have a AutoCompleteTextView which returns the list of places according to the text entered. The AutoCompleteTextView is working fine and returning the required data. However, I am facing a slight problem. Consider that i am wrote lo in AutoCompleteTextView and then pressed a button to search the matching places. The search is working correctly and loading the drop down list of AutoCompleteTextView with suggested places. But i can only see the drop down if i enter a 3rd word i.e. lon or i edit the word as l. I want the drop down to be visible as soon as the drop down list gets updated.

4

1 回答 1

5

要在按钮单击上显示下拉菜单,请使用以下命令:

autoCompleteTextView.showDropDown();
于 2013-07-10T15:28:36.933 回答