Android is like the drop-down, refresh, pull-up and loading of connotation jokes. It constantly acquires new data and will not repeat it.

as the title: Android is like the kind of connotative jokes, drop-down refresh, pull-up and load constantly get new data, and will not repeat

Feb.28,2021

when you pull to make a request, just pass back the id or timestamp of the latest one as the request parameter. Then when the server checks the id, it returns


to set a global arraylist A to save all the data, and use a cached list B to receive each page of data. Every time you pull up and request the next page, you can addALL the new data into A. A.addAll (B); So it won't be repeated

Menu