简体   繁体   中英

Android: multi select list preferences with autocomplete?

I need to let the user in my app to choose several cities.

so the users should be able to choose "All Cities" or "multiple cities", every tap on city name will be shown above the list, and every click on the list above, will bring it back down, I designed a sketch so you will be able to understand what i need. 自动完成清单

the closest example i have found is android chips edit text: https://github.com/klinker41/android-chips

but it works on contacts and actually its too much code for a pretty simple select list.

any idea?

Thank you!

Eran.

Finally, I have found exactly what I was looking for, you can find it here: https://github.com/pratikbutani/MultiSelectSpinner

Thank anyway.

Eran.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM