michaelprimez / searchablespinner

Searchable Spinner
Apache License 2.0
314 stars 100 forks source link

I can't add my items into it #15

Closed JAOOOOO closed 6 years ago

JAOOOOO commented 7 years ago

i couldn't add my data into it using ArrayAdapter

michaelprimez commented 6 years ago

I update the example application with an ArrayAdapter use case and i don't see any problem. Can you give me more details please.

JAOOOOO commented 6 years ago

Hello , I think it will be so much better , if the search is based on .contains() instead of .startWith()

Thank you

On Nov 25, 2017 3:35 PM, "Michael Keskinidis" notifications@github.com wrote:

I update the example application with an ArrayAdapter use case and i don't see any problem. Can you give me more details please.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/michaelprimez/searchablespinner/issues/15#issuecomment-346941001, or mute the thread https://github.com/notifications/unsubscribe-auth/Acbc12g21JqNL_ZDLgbyRy8Bp7JLu7auks5s6Be7gaJpZM4OLRXo .

michaelprimez commented 6 years ago

The adapter and the filter implementation is not library related. The implementation depend of what type of items the spinner could hold. Thus, is up to the programmer that use the library to implement the filter.