notifyItemRangeRemoved(childAdapterPosStart, childItemCount);
<BUG>boolean allChildRemoved = !parentWrapper.hasChildren(children);</BUG>
if (forceCollapseParent && !allChildRemoved) {
collapseView(parentPosition, true);
} else {
<BUG>if (allChildRemoved) {
parentWrapper.setExpanded(false);
syncViewCollapseState(parentPosition, true);
checkSingleCollapseMode(parentPosition);</BUG>
}

notifyItemRangeRemoved(childAdapterPosStart, childItemCount);
if (forceCollapseParent && !allChildRemoved) {
collapseView(parentPosition, true);
} else {
if (allChildRemoved) {
if (parentWrapper.setExpandable(false)) {
syncParentExpandableState(parentPosition);
