-
Notifications
You must be signed in to change notification settings - Fork 617
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
Disable flinging #29
Comments
Did you try using GravityPagerSnapHelper? |
Didnt know about it, thanks! |
Are you using items with the same width as the google play ones? It should be identical. |
Yes same width. The logic seems fine, but its way to hard to fling it, so Im guessing adjusting som "friction" attribute? |
I also need disable flinging effect like google play,had you solved the problem? |
Hy friends, how to remove this error java.lang.IllegalStateException: An instance of OnFlingListener already set. i'm adding snaps dynamicaly and this error occur. |
Closing due to inactivity |
@ursusursus, this will be added in 2.2.0 |
Released in 2.2.0. Use this: https://github.com/rubensousa/GravitySnapHelper/blob/2.2.0/gravitysnaphelper/src/main/java/com/github/rubensousa/gravitysnaphelper/GravitySnapHelper.java#L300 Check the sample for examples |
@rubensousa This isn't working as expected. Setting |
Hi, nice effect but being able to fling which turns into linear scroll really ruins it, id like to mimic view pager physics, exactly how google play does it
thanks
The text was updated successfully, but these errors were encountered: