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

feat: NestedScrolling behavior on complicated layouts works #31

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

Conversation

dmytroKarataiev
Copy link

Added nested scrolling behavior to the PullToRefreshView which works on complicated layouts and copies behavior of a standard SwipeRefreshLayout (on scroll down when reaches top of the screen it starts opening layout animation).

Animation logic moved to a separate method to avoid repetitive code and improve readability.

@tylersuehr7
Copy link

tylersuehr7 commented May 31, 2017

Thanks! This fork really helped a lot!

I have the Phoenix refresh layout as the parent to a RecyclerView which was nested inside a CoordinatorLayout with an AppBarLayout that has scroll flags set on it. The normal Phoenix refresh layout will not allow the AppBarLayout to scroll back down, but the version you created in this fork successfully does and saved me hours of time.

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.

2 participants