public void setAdapter(ListAdapter adapter, int toggle_button_id, int expandable_view_id) {
        this.adapter = new SlideExpandableListAdapter(adapter, toggle_button_id, expandable_view_id);
        super.setAdapter(this.adapter);
    }
Collapses the currently open view.

@return true if a view was collapsed, false if there was no open view.
library/src/main/java/com/tjerkw/slideexpandable/library/SlideExpandableListView.java