private boolean isHeaderOrFooterPosition(int position) {
        /**
         *  have a headview and EMPTY_VIEW FOOTER_VIEW LOADING_VIEW
         */
        if (baseQuickAdapter==null){
            if (recyclerView!=null){
                baseQuickAdapter= (BaseQuickAdapter) recyclerView.getAdapter();
            }else {
                return false;
            }
        }
        int type = baseQuickAdapter.getItemViewType(position);
        return (type == EMPTY_VIEW || type == HEADER_VIEW || type == FOOTER_VIEW || type == LOADING_VIEW);
    }
callback method to be invoked when an item in this view has been
click and held

@param view     The view whihin the AbsListView that was clicked
@param position The position of the view int the adapter
@return true if the callback consumed the long click ,false otherwise
common/src/main/java/com/sxjs/common/base/baseadapter/listener/SimpleClickListener.java