android - How to fetch the rest of the JSON string from a pagination API? -


I have to get some code from the API and display the data in the ListView . I was able to get the JSON string from the API, but it is just a part of the data, and how do I get the rest of JSON ? Should it be handled on the client side? Should I use a different URL to get more data? Thank you in advance.

You need to see the "link" header of the HTTP response. Example header in GitHub documentation

Status: 200 OK / Link:

Note the "link" which gives the URL for the next page Events are

I have only done this in Python and not Android, so I do not know the exact details. I recommend that you, see, and document. Specifically, the method looks promising.

If you are using, you should see.

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -