@Override
    protected ViewGroup.LayoutParams generateDefaultLayoutParams() {
        return new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
    }
The duration to close time

@param duration
common/src/main/java/com/sxjs/common/widget/pulltorefresh/PtrFrameLayout.java