splitwise / TokenAutoComplete

Gmail style MultiAutoCompleteTextView for Android
Apache License 2.0
1.3k stars 383 forks source link

How to get autoComplete from any part of the typed String? #227

Closed ashirvad-jena closed 8 years ago

ashirvad-jena commented 8 years ago

The search is based on initials of the required String. For example if the string to be searched is "B-243" I have to type "B" to show the autoComplete. How to get the autoComplete dropDown if I type "43"??

mgod commented 8 years ago

The drop down will appear if the number of letters is >= the threshold and there are items in the adapter to show. My guess is that you need to change your filter function to make "B-243" match "43"