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