public void removeFooter(int position){
  if (mFooters.size() > 0 && position < mFooters.size()) {
    mFooters.remove(position);
    notifyItemRemoved(mHeaders.size() + mData.size() + position);
  }
}

public void removeFooter ( int position ) { if ( mFooters . size ( ) > 0 && position < mFooters . size ( ) ) { mFooters . remove ( position ) ; notifyItemRemoved ( mHeaders . size ( ) + mData . size ( ) + position ) ; } }
remove a footer from the adapter
