Open Dropdown on click of Textview

2.2k Views Asked by At

I have a TextView named Change City. On click of Change city it has to show list of cities in dropdown list. Once the city is selected Change City has to be replaced by corresponding City name.

I tried using adapter (like Spinner) for TextView. It didn't work. Any other suggestions?

1

There are 1 best solutions below

0
On

In a dropdown list I recently implemented, I used a ListView with an adapter set to an ArrayList. It worked great for me. I would recommend it.