

Please see comments i have put comments for each lines code. It will inflate in adapter to create child rows gui. It will inflate in adapter to create parent rows gui. Public void setChildren(ArrayList children) Public void setCheckedType(String checkedtype) Use Models Parent.java and Child.java to create data for rows. Create custom Adapter MyExpandableListAdapter class and inflate grouprow.xml file for parent rows() and childrow.xml for child rows. Create dummy data in parent and child model objects and Store objects in an ArrayList.Ĥ. These classes will use to create GUI for parent rows and child rows.ģ. Create xml files for parent rows(grouprow.xml) and for child rows(childrow.xml). These classes will use to store parent rows and child rows data.Ģ. Create Model classes for parent rows(Parent.java) and for child rows(Child.java). Creating custom adapter to create Expandable ListView rows.

parent rows contains texts,images and a checkbox. In this example creating a custom Expandable ListView with parent and child rows.
