I have a RecyclerView inside another RecyclerView, the problem is that after I scroll the first RecyclerView, then when I return to the top, the inner RecyclerView is recreated and accordingly resets the scrolled position.
How to make it so that when the main RecyclerView is scrolled, the secondary RecyclerView are saved and not reset?
This is implemented in the Play market, I need to do the same.