I have 2 api methods.
@POST("/api/photos/")
Single<List<Photo>> getPhotos();
@POST("/api/user/profile")
Single<Profile> getProfile(@Query("photoId") String photoId);
I want to return Single < List < Pair < Photo,Profile>>> after combining some rx operations and this api methods. Is it possible? How?