Answer the question
In order to leave comments, you need to log in
How to make a list with data loaded when scrolling?
Good day.
I found a lot of information on this issue, so I got confused. My version turned out like this: 1) RecyclerView doesn't care about the size of the list, that's why it's "standard", it's just that new entries are added to the adapter; 2) in the currentCategory adapter has a position, if position == the size of the current list, I make a new request
Now the questions are:
1) are my reasoning correct or is there some big problem that can be solved by answering question
2 2) how to do it right?
If it is important, I get the data through the callback of my class, which, in turn, receives either from the Internet or from the database.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question