Skip to content Skip to sidebar Skip to footer

Autocompletetextview Not Showing Suggestion

I am trying to create an application for android in which I want to keep AutoCompleteTextView to show suggestion to reduce the efforts of users. Currently I am testing with a small

Solution 1:

I had the same problem as yours. But manage to solve it by adding this

    am.notifyDataSetChanged();

after

ArrayAdapter<Map<String, String>> am = newArrayAdapter<Map<String, String>>(this, R.layout.list_item, objects);
    autotextView.setAdapter(am);

Hope that this will help :)

Post a Comment for "Autocompletetextview Not Showing Suggestion"