public void setHeaderFooterEmpty(boolean isHeadAndEmpty, boolean isFootAndEmpty) {
        mHeadAndEmptyEnable = isHeadAndEmpty;
        mFootAndEmptyEnable = isFootAndEmpty;
    }
set emptyView show if adapter is empty and want to show headview and footview
Call before {@link RecyclerView#setAdapter(RecyclerView.Adapter)}

@param isHeadAndEmpty
@param isFootAndEmpty
common/src/main/java/com/sxjs/common/base/baseadapter/BaseQuickAdapter.java