Vote count:
0
This is how i am setting the adapter:
ArrayAdapter<String> outletNamedataAdapter = new ArrayAdapter<String>(this,
android.R.layout.simple_dropdown_item_1line, this.outletNameList);
// outletNamedataAdapter.setDropDownViewResource(android.R.layout.simple_expandable_list_item_1);
//this.outletName.setAdapter(outletNamedataAdapter);
outletTextView.setThreshold(1);
this.outletTextView.setAdapter(outletNamedataAdapter);
This is my AutocompleteText in XML:
<AutoCompleteTextView
android:id="@+id/outletName"
android:layout_width="match_parent"
android:layout_weight="2"
android:layout_height="match_parent"
android:padding="10dp"
android:background="@drawable/edit_textfield"
android:hint="Type Outlet Name"
/>
It's not showing list for every input that i give.
asked 1 min ago
AutoCompleteText sometimes don't show the list for a given charecter
Aucun commentaire:
Enregistrer un commentaire