rx-java Retrofit and RxJava Making parallel requests


Example

You can use the zip operator to make request in parallel and combine the results eg:

Observable.zip(api.getRepo(repoId1), api.getRepo(repoId2), (repo1, repo2) ->
    {
        //here you can combine the results
    }).subscribe(/*do something with the result*/);