Basically i need to build up a spinner with search option. Couldn't really find anything similar. But got some ideas though. Like it can be done through below processes:
Use Autocomplete TextView : Here the problem is i can't really load a list when i click it. It shows a list when i start typing.
Use a dropdown listview underneath editTextView. So, when i click the editText it will act as dropdown and when i start typing the items will be only shown in the listview.
Problem here is i cant really implement it. Please help me out on this.
Use a spinner- which it will act like a EditTextView, so that i can type.
I need help on how to type/put a editTextView inside & ontop of the spinner.
Please help me out.
Or if there is any better suggestions than please say it too.
I am using Filtering, instead of Autocomplete..The flow would be, you must populate the Arraylist that you have and display it as normal list. the Filtering thingy will be implemented in your EditText. Here's some of my code:
1st: Declare your EditText and a RelativeLayout wherein the result will be plotted:
2nd: Inside your OnCreate, Put this codes:
and here's my XML layout:
Feel free to ask If you're still Confused, Hope it Helps :D