public void setDurationToClose(int duration) {
        mDurationToClose = duration;
    }
The duration to return back to the refresh position

@param duration
ptr-lib/src/in/srain/cube/views/ptr/PtrFrameLayout.java