I have a pretty standard RecyclerView
with a vertical LinearLayoutManager
. I keep inserting new items at the top and I\'m calling notifyItemI
The only solution that worked for me was to reverse the recycler's layout by calling setReverseLayout()
and setStackFromEnd()
on its LinearLayoutManager
.
This might sound stupid, but the way RecyclerView
handles adding items at the end of the list is what you need at the top. The only downsize of this is that you'd have to reverse your list and start adding items to the end instead.