Skip to content

added adapter for NestedScrollView, added implementation and demo for…#54

Open
danubis wants to merge 1 commit into
EverythingMe:masterfrom
danubis:master
Open

added adapter for NestedScrollView, added implementation and demo for…#54
danubis wants to merge 1 commit into
EverythingMe:masterfrom
danubis:master

Conversation

@danubis
Copy link
Copy Markdown

@danubis danubis commented Apr 19, 2018

Original version does not work with view inside SwipeRefreshLayout, because Decorator handled OnTouchEvent.
I added a new adapter for NestedScrollView with a boolean to state whether user wants to enable compatibility to work with SwipeRefreshLayout.

OverScrollDecoratorHelper.setUpOverScroll(scrollView, enableSwipeToRefresh: true);

By having enableSwipeToRefresh true, over scroll from top will be disabled as well.

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.

1 participant