public void setAdapter(ListAdapter adapter) {
        this.adapter = new SlideExpandableListAdapter(adapter);
        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