-
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
Scrolls to far #2
Comments
I think you're describing a fling gesture, but I'm not sure. If you swipe fast enough, the recyclerview will scroll for more items. Isn't this what's happening? You can control the fling speed, but it's out of context for this sample. If I'm mistaken, please provide a gif that reproduces this so I can take a look. |
Check out this video. It shows the issue i'm talking about. |
Oh, I see now. This also happened to me a couple of times. I'll take a look at this later. |
Should be fixed in release 0.2 |
Fixed properly in 0.3. I've opened an issue in the official bug tracker since this problem was due to LinearSnapHelper: https://code.google.com/p/android/issues/detail?id=223649 |
So i started testing out this GravitySnapHelper and i noticed a very subtle issue that arises after continually testing. So its difficult to reproduce every single time but i have tested it enough to reproduce it several times.
If you are scrolling through the
RecyclerView
with a swipe gesture, your finger remains on the screen and you let go while the second half of an item ( lets say item number 5) in the adapter shows then it slides to the left so then item number 6 is the furthest left item to show.Now if you are scrolling through the
RecyclerView
with a swipe gesture, your finger remains on the screen and you let go while the first half of an item ( lets say item number 5) in the adapter shows then it slides to the left so then item number 5 is the furthest left item to show.Once in awhile, if you are scrolling through the
RecyclerView
with a swipe gesture, your finger remains on the screen and you let go while the first half of an item ( lets say item number 5) in the adapter shows then it slides to the left so then item number 4 is the furthest left item to show. So in this case it slides too far.The text was updated successfully, but these errors were encountered: