Code example for ExpandableListView

Methods: collapseGroupisGroupExpanded

0
        showDialog(Util.TRACK_ACTIONS_DIALOG);
    } 
 
    @Implement 
    public void onGroupClick(int position) {
        if (list.isGroupExpanded(position))
            list.collapseGroup(position);
        else 
            list.expandGroup(position);
    } 
 
    @Implement 
    public void onChildLongClick(final int position, final Cursor cursor) {
        this.position = position;
        childCursor = cursor;
        dialogManager = new DialogManager(this, this, Util.CATEGORIES.TRACK);
        showDialog(Util.TRACK_ACTIONS_DIALOG);
    } 
 
    @Implement 
    public void onChildClick(int position, Cursor c) {