public int getFooterViewType ( int position ) { if ( footerContent != null ) { if ( footerContent . getData ( ) == getItem ( position ) && ( position == getLastItemIndex ( ) ) ) { return footerContent . getViewtype ( ) ; } } return PeasyHeaderViewHolder . VIEWTYPE_NOTHING ; }
To identify content as Footer