• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps dynamically create groups within another group in android expandable listview

krishnaveni

Well-Known Member
Hi i have to developed one expandablelistview is successfully..now i wish to need expandable listview with in another expandablelistview..how is creating groups within another groups in android expandable listview ...please help me..how is to do... this is my code for creating 2 groups(orderinfo, customerinfo).
Code:
final LayoutInflater layoutInflater = (LayoutInflater) this.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        final ArrayList<HashMap<String, String>> headerData = new ArrayList<HashMap<String, String>>();

        final HashMap<String, String> group1 = new HashMap<String, String>();
        group1.put(NAME, "OrderInfo");
        headerData.add( group1 );

        final HashMap<String, String> group2 = new HashMap<String, String>();
        group2.put(NAME, "CustomerInfo");
        headerData.add( group2);
now i wish to need to implement the customerinfo within another 3 group is created....how is to do..please give me sample code..
 
Back
Top Bottom