n level Expandable Listview
android
Solution
According to this example.
public View getChildView(int groupPosition, int childPosition,
boolean isLastChild, View convertView, ViewGroup parent) {
CustExpListview SecondLevelexplv = new CustExpListview(Vincent_ThreeelevellistActivity.this);
SecondLevelexplv.setAdapter(new SecondLevelAdapter());
SecondLevelexplv.setGroupIndicator(null);
return SecondLevelexplv;
}
Here the `getChildView` method creates a new adapter by `CustExpListview` Class and sets is as an Adapter. The same way you can create a new `BaseExpandableListAdapter` Class and set it in `CustExpListview` Class `getChildView` method.
Problem
How to display n- level of expandable list view android, I am getting only examples for 3-Levels expandable. Referring this :link Please guideline or share me suitable example for Multi-level expandable display in android. Thanks,