@Override
	public void onRestoreInstanceState(Parcelable state) {
		if(!(state instanceof AbstractSlideExpandableListAdapter.SavedState)) {
			super.onRestoreInstanceState(state);
			return;
		}

		AbstractSlideExpandableListAdapter.SavedState ss = (AbstractSlideExpandableListAdapter.SavedState)state;
		super.onRestoreInstanceState(ss.getSuperState());

        if (adapter != null) {
            adapter.onRestoreInstanceState(ss);
        }
	}
Registers a OnItemClickListener for this listview which will
expand the item by default. Any other OnItemClickListener will be overriden.

To undo call setOnItemClickListener(null)

Important: This method call setOnItemClickListener, so the value will be reset
library/src/main/java/com/tjerkw/slideexpandable/library/SlideExpandableListView.java