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

add another effect. #47

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

lk5103613
Copy link

@lk5103613 lk5103613 commented Aug 30, 2017

Hi, your overscroll is so great, and I add another effect to make it better.

It's easy to use:
OverScrollDecoratorHelper.setUpScaleOverScroll(recyclerView,OverScrollDecoratorHelper.ORIENTATION_HORIZONTAL, 2);
2 is the value of damping, the bigger the value, the harder it is to slide

here is the gif
preview

I add this effect in your demo, this effect can perfect fit all these examples. You can see the new effect by click "switch effect"

360 20170830233446731

I hope you can accept my code.
Thank you very much.

@Larnoo
Copy link

Larnoo commented Jan 24, 2018

NestedScrollView can't overscroll, when it has a child recyclerView. @lk5103613

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

Successfully merging this pull request may close these issues.

None yet

2 participants