public final void notifyContentItemRangeInserted ( int positionStart , int itemCount ) { int newHeaderItemCount = getHeaderItemCount ( ) ; int newContentItemCount = getContentItemCount ( ) ; if ( positionStart < 0 || itemCount < 0 || positionStart + itemCount > newContentItemCount ) { throw new IndexOutOfBoundsException ( "The given range [" + positionStart + " - " + ( positionStart + itemCount - 1 ) + "] is not within the position bounds for content items [0 - " + ( newContentItemCount - 1 ) + "]." ) ; } notifyItemRangeInserted ( positionStart + newHeaderItemCount , itemCount ) ; }
Notifies that multiple content items are inserted .