Closed jabi1995 closed 5 years ago
Do this.
Create an entity class for your String. Something like: https://raw.githubusercontent.com/arimorty/floatingsearchview/master/sample/src/main/java/com/arlib/floatingsearchviewdemo/data/ColorSuggestion.java
Create an ArrayList of type "your entity"
Populate this arrayList
Pass this list to the FSV this way: mSearchView.swapSuggestions(newSearchSuggestions);
I hope this helps
I have a list of Strings fetched from local database How can I use this list as suggestion in FSV? In your example I watched you convert Json format to ColorWrapper but How about mine?
Regards