code: public void removeHeaderView(View view) {
          mHeaderViewList.remove(view);
          if (mAdapterWrapper != null) {
              mAdapterWrapper.removeHeaderViewAndNotify(view);
          }
      }
docs: Remove view from header.