I know this topic has been 'touched' alot of times, but I still haven't found the correct
way of implementing recyclerview/s inside recyclerview.
My goal is to have a single vertical recyclerview as parent and multiple horizontal recyclerviews inside of it.
I found an implementation to this within this post answer: How do I layout nested RecyclerViews, while remaining performant?
What it suggests is, inside parent recyclerview onBindVH()
method call
holder.setAdapter(childAdapter)
.
Is this correct way? I think, this is not the best solution performance wise. Is there better solution to implement nested recyclerviews (explanations are welcome)?