Following the wiki guidance on avoiding memory leak I have been setting LayoutManager.recycleChildrenOnDetach = true for all of my EpoxyRecyclerViews.
I'm using one in a ViewPager now, and when scrolling away from the EpoxyRecyclerView and then coming back to it, my scroll position is lost. If I don't set recycleChildrenOnDetach = true then my scroll position is not lost.
Following the wiki guidance on avoiding memory leak I have been setting
LayoutManager.recycleChildrenOnDetach = true
for all of myEpoxyRecyclerView
s.I'm using one in a
ViewPager
now, and when scrolling away from theEpoxyRecyclerView
and then coming back to it, my scroll position is lost. If I don't setrecycleChildrenOnDetach = true
then my scroll position is not lost.Is there any way around this?