Skip to content

add another effect.#47

Open
lk5103613 wants to merge 2 commits into
EverythingMe:masterfrom
lk5103613:master
Open

add another effect.#47
lk5103613 wants to merge 2 commits into
EverythingMe:masterfrom
lk5103613:master

Conversation

@lk5103613
Copy link
Copy Markdown

@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
Copy Markdown

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.

3 participants