if (fromParentPosition == toParentPosition) return;
int fromParentAdapterPos = getParentAdapterPosition(fromParentPosition);
int toParentAdapterPos = getParentAdapterPosition(toParentPosition);
if (fromParentAdapterPos == RecyclerView.NO_POSITION ||
toParentAdapterPos == RecyclerView.NO_POSITION) return;
<BUG>ParentWrapper fromParentWrapper = (ParentWrapper) getItem(fromParentAdapterPos);

ParentWrapper toParentWrapper = (ParentWrapper) getItem(toParentAdapterPos);
</BUG>
final boolean isFromExpanded = fromParentWrapper.isExpanded();

if (fromParentPosition == toParentPosition) return;
int fromParentAdapterPos = getParentAdapterPosition(fromParentPosition);
int toParentAdapterPos = getParentAdapterPosition(toParentPosition);
if (fromParentAdapterPos == RecyclerView.NO_POSITION ||
toParentAdapterPos == RecyclerView.NO_POSITION) return;
ParentWrapper<P, C> fromParentWrapper = getItem(fromParentAdapterPos);
ParentWrapper<P, C> toParentWrapper = getItem(toParentAdapterPos);
final boolean isFromExpanded = fromParentWrapper.isExpanded();
