I have a pretty standard RecyclerView with a vertical LinearLayoutManager. I keep inserting new items at the top and I\'m calling notifyItemI
RecyclerView
LinearLayoutManager
notifyItemI
Use adapter.notifyDataSetChanged() instead of adater.notifyItemInserted(0). This will scroll recylerView to zero position if current scroll position is one(old zero).
adapter.notifyDataSetChanged()
adater.notifyItemInserted(0)
recylerView
old zero