android - Dynamically Display Categories and sub-Categories onItemClick -


i'm working on android application, , have diplay list of categories, sub-categorie, sub-sub-categorie .... n-sub-categories, this:

enter image description here

at beggining want show root categories -using listview-, , oninclick want start new intent new layout, display level 1 sub categories, , when click on itemp sub-categories level 1, new intent starts open new layout sub-categories level-2, , on unitil have no sub categories display,

enter image description here

use same listview categories , sub categories.

when click on item use async task download new sub category list , modify data in list view using data.removeall() , data.add() , notifydatasetchange()


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -