Code example for ExpandableListAdapter

Methods: getChild

            // checkbox状態更新(描画) 
            ((Checkable) v).toggle(); 
            // 内部保持値更新(check状態) 
            ExpandableListAdapter adapter = parent.getExpandableListAdapter(); 
            ChildData child = (ChildData) adapter.getChild(groupPosition, childPosition); 
            child.checked = !child.checked; 
            return false; 
    private static class GroupHolder { 
        private TextView text1;
        private TextView text2;
    private static class ChildHolder { 
        private CheckBox checkbox1;
        private TextView text1;
Connect your IDE to all the code out there  Get Codota for Java