arimorty / floatingsearchview

A search view that implements a floating search bar also known as persistent search
https://github.com/arimorty/floatingsearchview/blob/master/README.md
Apache License 2.0
3.54k stars 667 forks source link

Suggestion static height #265

Open SAqsin opened 7 years ago

SAqsin commented 7 years ago

hi everyone.how i set height to suggestion panel (dropdown) like this .Static height and suggestion scroll

captureaaa

SAqsin commented 7 years ago

i need help

mrmohajeri commented 7 years ago

Would you please give me your code? Because I even couldn't make what you made. I have problem with showing suggestions

SAqsin commented 7 years ago

check sample app

mrmohajeri commented 7 years ago

Actually the sample app uses a database. But I have aList<address> ( Got that from geocoder, search suggestions of google place) and swapsuggestions method needs aList <? extends SearchSuggestion> Is there anyway to convert them?

SAqsin commented 7 years ago

Your "Addess" model must impelemented SearchSuggestion. class Address implements SearchSuggestion{ //fields

//set/gets }