tags:

views:

46

answers:

1

Hi,

I am getting a response from xml which is dynamic in nature . After parsing the xml , I able to generate a tree view. Now , I want to convert the tree view structure to a List view which will have multiple List(list within list & so on) depending on the depth of the xml.

I am aware of the ExpandableListActivity which provide a two-levels of data.

In my case , it can be more than two levels of data rather it should be dynamic in nature.

I need any sample code to implement the dynamic List i.e a List within another List & so on.

Kindly help

Chiranjib

A: 

You can not display a list in a list. But you can switch between views. Clicking on a list item you can open a new view that contains the other list-layout. Or you can open a dialog that shows the elements of the second list. But the solution depends on what you want to achieve which is not really clear in your description.

ArtWorkAD