public void remove(int position){
  mData.remove(position);
  notifyItemRemoved(position + getHeaderLayoutCount());
}

public void remove ( int position ) { mData . remove ( position ) ; notifyItemRemoved ( position + getHeaderLayoutCount ( ) ) ; }
remove the item associated with the specified position of adapter
