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

I am not able to use recyclerview inside zoom layout #53

Closed
evgeetha opened this issue Sep 25, 2018 · 2 comments
Closed

I am not able to use recyclerview inside zoom layout #53

evgeetha opened this issue Sep 25, 2018 · 2 comments

Comments

@evgeetha
Copy link

Hi,
I want to use zoom layout with multiple recyclerview.

  • i want zoom all views at same time.
  • i want scroll each recyclerview separately.

Please give your suggestion.
Thanks.

@markusressel
Copy link
Collaborator

markusressel commented Dec 25, 2018

Since ZoomLayout allows to pan and recyclerview will pan too they will naturally interfere with one another.
You could try overriding the onTouchEvent method in ZoomLayout and pass the touch event to the recyclerview when apropriate (like seen here ) but I would strongly advise against using multiple scrollable views inside of one another as it will lead to unintuitive and inconsistent UX.

@markusressel
Copy link
Collaborator

Closing this because of inactivity. Feel free to reopen if you need further assistance.

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