public final void expandParent ( int parentPosition ) { if ( ! isExpanded ( parentPosition ) ) { mExpandItemArray . append ( parentPosition , true ) ; int position = positionFromParentPosition ( parentPosition ) ; int childCount = childItemCount ( parentPosition ) ; notifyItemRangeInserted ( position + 1 , childCount ) ; } }
Expand parent .