int parentPosition = mParents.indexOf(parent);
return collapseParent(parentPosition);
}
public void collapseAllParents() {
for (int i = 0; i < mParents.size(); i++) {
<BUG>collapseParent(i);
}</BUG>
}
public final void notifyParentItemInserted(int parentPosition) {
notifyParentItemRangeInserted(parentPosition, 1);

}
}
}
private void notifyParentExpandableStateChanged(ParentViewHolder pvh, boolean expandable) {
int parentAdapterPos = pvh.getAdapterPosition();
for (OnParentExpandableStateChangeListener listener : mExpandableStateChangeListeners) {
int parentPos = parentAdapterPos - getBeforeExpandedChildCount(parentAdapterPos);
listener.onParentExpandableStateChanged(pvh, parentPos, expandable);
}
}
public final void notifyParentItemInserted(int parentPosition) {
notifyParentItemRangeInserted(parentPosition, 1);
