I have a RecyclerView
nested in a vertical scrolling view. The RecyclerView
displays items with a vertical LinearLayoutManager
. Its height is (and has to be, per product specification) set to wrap_content
.
Problem is memory and performance issues come around quickly when I set a large amount (~50+) because items are simply not recycled.
What is the good way to make this work nicely and smoothly?
Edit: Ok, some more details.
I have to make screen that describes a TV show: the synopsis, the list of seasons, and for each season the list of episodes. The list of episodes for each season must not be collapsed/folded/shrinked.
This is what I have to achieve: