How to handle pagination with Retrofit 2 and RxJava
问题 I know how to handle Retrofit responses but I have a problem with handling pagination from a REST API with rx java. Background The rest api that I'm using gives me the following response with the link to the next page in the headers: HTTP 200 OK Allow: GET, HEAD, OPTIONS Content-Type: application/json Link: <http://some-endpoint.com/pictures?page=2>; rel="next" Vary: Accept X-Total-Count: 80 [ { "id": 3, "url": "", "picture": { "id": 6, "url": "", "name": "Chrysler" }, "location": { "type":