Android: multi select list preferences with autocomplete?
<p>I need to let the user in my app to choose several cities.</p>

<p>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.
<a href="https://i.stack.imgur.com/bLXOM.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bLXOM.jpg" alt="autocomplete list"></a></p>

<p>the closest example i have found is android chips edit text:
<a href="https://github.com/klinker41/android-chips" rel="nofollow noreferrer">https://github.com/klinker41/android-chips</a></p>

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

<p>any idea?</p>

<p>Thank you!</p>

<p>Eran.</p>