How to implement nested XML structure into 2 ListViews?

I am trying to parse an XML file with the following structure:\[code\]<groups> <group> <id>...</id> <name>...</name> <description>...</description> <actions> <action>...</action> <action>...</action> </actions> </group> <group> <id>...</id> <name>...</name> <description>...</description> <actions> <action>...</action> <action>...</action> <action>...</action> </actions> </group> <group> <id>...</id> <name>...</name> <description>...</description> <actions> <action>...</action> </actions> </group></groups>\[/code\]Currently in the first ListView I have "name" and "description" visible per row. This is fully functional. When selecting a row a new activity is created with another ListView. It is here where I want to display an action per row based on the selected position in the previous list. How should I do this? I have tried to also add the "action"s to the map where my other items are added to but it only adds 1 "action" per group.Please advise?
 
Top