Inserting RecyclerView items at zero position - always stay scrolled to top
问题 I have a pretty standard RecyclerView with a vertical LinearLayoutManager . I keep inserting new items at the top and I'm calling notifyItemInserted(0) . I want the list to stay scrolled to the top ; to always display the 0th position. From my requirement's point of view, the LayoutManager behaves differently based on the number of items. While all items fit on the screen, it looks and behaves as I expect: The new item always appears on top and shifts everything below it. However, as soon as