My goal is to have a NestedScrollView with multiple child CardViews containing RecyclerViews.
My current xml looks something like this:
<CardView>
<RecyclerView/>
</CardView>
<CardView>
<RecyclerView/>
</CardView>
</NestedScrollView>
Everything appears to be working as expected if i set nestedScrollViewEnabled to false on the RecyclerViews. However, the rows in the recyclerviews are not being recycled. Calling layoutManager.findFirstVisibleItemPosition()
always returns 0, and layoutManager.findLastVisibleItemPosition()
always returns the last item position in the list.
Any suggestions?