I am building an Android application, in which i've a spinner item. The spinner entry is a category, and there are sub category in each category.
I want to implement a UI, such that, when i click a spinner entry, i must get another spinner, showing the sub-categories for that category. (Something like how Windows Program menu works).
Here's and image of what it must look like -
Consider the drop down as a spinner.
I figured out these many ways -
- Implementing Spinner of Spinners.
- Populating new spinner on every item-selected.
I am confused, as which method is efficient and easy to maintain.
Please help me get a solution. Thanks in advance.