private void notifiyExpandCollapseListener(int type, View view, int position) {
		if (expandCollapseListener != null) {
			if (type == ExpandCollapseAnimation.EXPAND) {
				expandCollapseListener.onExpand(view, position);
			} else if (type == ExpandCollapseAnimation.COLLAPSE) {
				expandCollapseListener.onCollapse(view, position);
			}
		}

	}
Called when an item is collapsed.

@param itemView
           the view of the list item
@param position
           the position in the list view
library/src/main/java/com/tjerkw/slideexpandable/library/AbstractSlideExpandableListAdapter.java