@Deprecated
    public void setOnPullToBackListener(SwipeBackListener listener) {
        swipeBackListener = listener;
    }
Whether allow to finish activity by fling the layout.

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