How to Create Static (Using xml file only) ExpandableListView in Android
android, expandablelistview, xml
Solution
I don't think so it is possible . You must have to write code for generating listview using java file.
Look Here for shortest way to generate expandable listview.
Problem
I need to insert GroupData and ChildData directly into ExpandableListView in xml file itself without using java. Java file should only for showing xml file not for inserting data. Our output will be : Group 1 -> Child 11, Child 12, Child 13 Group 2 -> Child 21, Child 22, Child 23 Group 3 -> Child 31, Child 32, Child 33 Thanks in Advance