public void setEnableFlingBack(boolean b) {
        enableFlingBack = b;
    }
Whether allow to finish activity by fling the layout.

@param b
library/src/main/java/com/liuguangqiang/swipeback/SwipeBackLayout.java