public final void notifyFooterItemInserted ( int position ) { int newHeaderItemCount = getHeaderItemCount ( ) ; int newContentItemCount = getContentItemCount ( ) ; int newFooterItemCount = getFooterItemCount ( ) ; // if (position < 0 || position >= newFooterItemCount) { // throw new IndexOutOfBoundsException("The given position " + position // + " is not within the position bounds for footer items [0 - " // + (newFooterItemCount - 1) + "]."); // } notifyItemInserted ( position + newHeaderItemCount + newContentItemCount ) ; }
Notifies that a footer item is inserted .