Pregunta

I would like to open a listview by clicking on list items, which means when I need to show some categories in a list view and if I want that when I click on any of those categories then another listview should open with subcategories. And the same with working with subcategories, that when I click on subcategories then another listview should open with related sub-subcategories and viceversa.

Please tell me how can i do the above if i want same listview for all operations?

Thanks!

¿Fue útil?

Solución

Seems like what you are trying achieve is a listview with a onItemClick, this question has been asked numerous times. Below are solutions to your question..

custom Listview Start new activity

How I can start a Activity if I click in A Item in a ListView

How to go to a particular activity on list item click?

ListView opens activity when Item is clicked?

Hope this help, since no one was able to answer your question.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top