I have a RecyclerView bounded to CursorRecyclerAdapter. When im adding an item to the start of the collection (by notifyItemInserted(0)) the list behaves as follows :
- When the UI is left untouched, there is an animation that moves the list to the start. meaning, shows the newly added item.
- When the RecyclerView was scrolled down, there is an animation that moves the list one item forward.
I would like the RecyclerView keep the exact the position. Without any animation or flickering.
I tried the following solution - How to remain at a scroll position in RecyclerView after adding items at its first index and call notifydatasetchange - but it didn't work.
I'd really appreciate any help here. Thanks a lot.