RecyclerView reverse endless scrolling
问题 I'm creating a chat app and I am trying to implement endless scrolling for RecyclerView in a reversed manner, like start from the bottom and scroll up, when top is reached, load more. When the user opens the chat screen, the app gets the last 20 messages and scrolls to the bottom by default. I want to get more messages from the server as the user scrolls up. The following is just a generic endless scrolling code i am testing with: protected void onCreate(Bundle savedInstanceState) { super