private boolean disposeEdgeValue(int deltaY) {
        if (isSupportExit) {
            if (deltaY <= 0 && getScrollY() >= -minOffset) {
                return true;
            } else if (deltaY >= 0 && getScrollY() <= -exitOffset) {
                return true;
            }
        } else {
            if (deltaY <= 0 && getScrollY() >= -minOffset) {
                return true;
            } else if (deltaY >= 0 && getScrollY() <= -maxOffset) {
                return true;
            }
        }
        return false;
    }
Set the scrolled position of your view. This will cause a call to
{@link #onScrollChanged(int, int, int, int)} and the view will be
invalidated.

@param x the x position to scroll to
@param y the y position to scroll to
scrolllayout/src/main/java/com/yinglan/scrolllayout/ScrollLayout.java