SearchableSpinner
SearchableSpinner copied to clipboard
setSelction(int Position) function is not working
setSelection(int position) is not working in your spinner but same is working in normal spinner. please resolve it asap.
Refer this :+1:
https://github.com/AnithJo/android_searchable_spinner/
@Avinash4201 I've added the following to the SearchableSpinner class, and it seems to be working so far:
@override public void setSelection(int position) { if (position != NO_ITEM_SELECTED) { if (!_isDirty) { _isDirty = true; setAdapter(_arrayAdapter); super.setSelection(position); } } }