Ask the next android veterans
, recently to others make the underlying data collation, storage write about her. Ask, android kind of mobile development, paging mode, a one-time reading all the data from the server down to do paging on the client, or when you send a request to the server, pass paging parameters to get specific data? I am here is to call the webservice to get the data, the entire amount of data about a few thousand to a million, if the paging parameters are pass, that I have stored under renovation, you do not know the code code, what is generally used method?
Reply:
Few one-time access to all the data, usually taking into account the data is too large.
Paging is a way of using, as well as the amount of data is compressed as much as possible
Reply:
Reply:
listview display is also not possible to complete the whole display, slide the page to fetch data from the server, take note after the cache, no longer need to take the next Ha according to
Reply:
Limitations of the mobile terminal device cause the mobile device to the PC data or the like can not end as this, a mobile device storage space is small, a small memory capacity, the screen is small, so in general, in the case of non-essential data are by need to get a screen showing how much how much it can get, get off the cache can be done, but it is best to set the cache limit (maximum number of pages of data cache), or else the data is too large, then there will be OOM or ANR problem.
Reply:
That makes sense
No comments:
Post a Comment