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

ScrollListener never called #4

Closed
DenisBronx opened this issue Dec 5, 2014 · 4 comments
Closed

ScrollListener never called #4

DenisBronx opened this issue Dec 5, 2014 · 4 comments

Comments

@DenisBronx
Copy link

Hi. Have you tried to use the onScrollListener on the RecyclerView with this adapter?
In my case it is never called! For the rest everything works fine.

@kanytu
Copy link
Owner

kanytu commented Dec 5, 2014

That's because setParallaxHeader will reset the ScrollListener on your RecyclerView.

@DenisBronx
Copy link
Author

Ok, and so i have to use setOnParallaxScroll instead? or it is not possible at all?

@kanytu
Copy link
Owner

kanytu commented Dec 5, 2014

Yes you can use setOnParallaxScroll Other way is to put your onScroll logic on the adapter's code itself.

@DenisBronx
Copy link
Author

Ok Thanks!!

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