Using flatMap in RxJava 2.x
问题 I'm working with an API of my own and a i'm hoping to chain a few paginated results using RxJava. I use cursor based pagination. (imagine there are 50 users in this first request): { "data":{ "status":"ok", "total":988, //users total "has_next_page":true, "end_cursor":"AQAxd8QPGHum7LSDz8DnwIh7yHJDM22nEjd", "users":[{"id":"91273813", "username":"codergirl", "full_name":"Code Girl", "picture_url":"https://cdn.com/21603182_7904715668509949952_n.jpg", }, ... ] } } Right now, I'm getting the first