public int addHeaderView(View header, int index) {
        return addHeaderView(header, index, LinearLayout.VERTICAL);
    }
Add header view to mHeaderLayout and set header view position in mHeaderLayout.
When index = -1 or index >= child count in mHeaderLayout,
the effect of this method is the same as that of {@link #addHeaderView(View)}.

@param header
@param index  the position in mHeaderLayout of this header.
              When index = -1 or index >= child count in mHeaderLayout,
              the effect of this method is the same as that of {@link #addHeaderView(View)}.
common/src/main/java/com/sxjs/common/base/baseadapter/BaseQuickAdapter.java