I have implemented a gallery output with grouping through 2 RecyclerView :
In the first LayoutManager = Linear and the element contains the text of the header and RecyclerView second level of nesting.
When filling in the data in the first level adapter, a RecyclerView of the 2nd level is created and a LayoutManager - Grid assigned.
Everything works and is reflected and scrolled. But after adding a record, you need to reflect the addition - tried differently:notifyDataSetChanged lower-level notifyDataSetChanged , notifyItemInserted Tried from the upper level.
The result was as if the new RecyclerView painted under the old one. When scrolling old pictures moved, and the new ones remained in place. As if 2 layers. One fixed, the other active.