public int getFooterLayoutCount() {
        if (mFooterLayout == null || mFooterLayout.getChildCount() == 0) {
            return 0;
        }
        return 1;
    }
if addFooterView will be return 1, if not will be return 0
common/src/main/java/com/sxjs/common/base/baseadapter/BaseQuickAdapter.java