android - AutocompleteTextView not showing its dropdown -
i've tried everything.
initially trying set 2 adapters on same autocompletetextview (one @ time). first 1 worked removed that, , placed in place of it.
arrayadapter<string> aa = new arrayadapter<string>(con, r.layout.dropdown_autocomplete, new string[]{"1", "2"}); pickup_at.setthreshold(1); pickup_at.setadapter(aa); aa.notifydatasetchanged();
this simplest possible code , should work. or making stupid mistake?
your threshold 1 , length of string 1 too. change threshold 0 or increase length of string.
Comments
Post a Comment