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

Flinging only works until performing an overscroll on the same side #19

Open
Emplexx opened this issue Aug 13, 2022 · 2 comments
Open

Comments

@Emplexx
Copy link

Emplexx commented Aug 13, 2022

When I fling my list and it reaches the end, it bounces as expected, but if I drag on the same side (perform an overscroll) and then fling again, it no longer bounces and just abruptly stops. Eg if I drag (overscroll) on the bottom side of the list, flinging animation will no longer work on the bottom

The BouncyRecyclerView is in a CoordinatorLayout. The layout file is for a fragment. My adapter extends BouncyRecyclerView.
BouncyRecyclerView has the following settings:

app:recyclerview_fling_animation_size="0.1"
app:recyclerview_overscroll_animation_size="0.5"
app:recyclerview_damping_ratio="DAMPING_RATIO_LOW_BOUNCY"
app:recyclerview_stiffness="STIFFNESS_LOW"```
@valkriaine
Copy link
Owner

When I fling my list and it reaches the end, it bounces as expected, but if I drag on the same side (perform an overscroll) and then fling again, it no longer bounces and just abruptly stops. Eg if I drag (overscroll) on the bottom side of the list, flinging animation will no longer work on the bottom

The BouncyRecyclerView is in a CoordinatorLayout. The layout file is for a fragment. My adapter extends BouncyRecyclerView.
BouncyRecyclerView has the following settings:

app:recyclerview_fling_animation_size="0.1"
app:recyclerview_overscroll_animation_size="0.5"
app:recyclerview_damping_ratio="DAMPING_RATIO_LOW_BOUNCY"
app:recyclerview_stiffness="STIFFNESS_LOW"```

Hello, are you using a Samsung galaxy device?

@Emplexx
Copy link
Author

Emplexx commented Aug 13, 2022

Nope, I am using a Google Pixel 3, running the last update it received from October 2021.

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

2 participants