ListView and Expandable listview in same xml file

breepapse

New Member
I have two buttons in my layout say b1 and b2. By pressing b1 I want to populate the list using listview. By pressing b2 I want to populate the list using expandablelistview. I am passing different sets of data on these listviews. My question is, is it possible to use listview and expandable listview in the same xml file? If its possible, then how can it be done?
 
Back
Top