Home Making stacks of recyclerview inside one layout scrolling as one unit
Reply: 0

Making stacks of recyclerview inside one layout scrolling as one unit

user3576118
1#
user3576118 Published in 2017-09-14 03:38:52Z

I am currently developing a activity where in the layout, there are three recyclerview stacked inside a linearlayout vertically. I actually want to make those three list to be able to stitched to each other, so as I scrolled down, it will give the effect as if I am scrolling a scrollview.

But as I know, recyclerview doesn't provide a wrap_content value to the scrolling axis. So to solve it, I dynamically resize each recyclerview and put those 3 recyclerviews inside a scrollview.

Is this the correct and acceptable way to solve it?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.302807 second(s) , Gzip On .

© 2016 Powered by cudou.com design MATCHINFO