Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastScroller - setHandleAlwaysVisible does not effect #764

Open
interblitz opened this issue Aug 20, 2020 · 0 comments
Open

FastScroller - setHandleAlwaysVisible does not effect #764

interblitz opened this issue Aug 20, 2020 · 0 comments

Comments

@interblitz
Copy link

Hi, glad to once again thank you for the great library :)

There is a little typo bug in the FastScroller.java

    /**
     * If enabled, it will keep handle always visible with 50% transparency.
     * <p>Default value is {@code false}.</p>
     *
     * @param enabled true to keep the handle always visible, false to hide always
     * @since 5.0.5
     */
    public void setHandleAlwaysVisible(boolean enabled) {
        handleAlwaysVisible = enabled;
    }

But should be as:

    /**
     * If enabled, it will keep handle always visible with 50% transparency.
     * <p>Default value is {@code false}.</p>
     *
     * @param enabled true to keep the handle always visible, false to hide always
     * @since 5.0.5
     */
    public void setHandleAlwaysVisible(boolean enabled) {
        //ignoreTouchesOutsideHandle = enabled;
        handleAlwaysVisible = enabled;
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant