java - Simplifying Retrofit2 and Rxjava2 chained calls to use a Single instead of Observable in the final result -
what want accomplish update calls @ end of all, when subscribe, return single , not observable because ever receive 1 result due nature of combining calls, had move observable take advantage of observable methods join results single result. the issue having trying figure out how use results 1 call , combine result 1 , return combination of both. the sequence of calls follows: upload list of logos receive result of logos upload more detailed data of logos uploaded. use list of results got , use in new request make create book. receive newly create book response book more auto generated data get current author/user info ( forced make observable because single doesn't work .zip operator ) use author result , book details create pojo object. return final result. currently, returned observable there ever 1 entry returned makes little sense return observable. not sure how can transform return single appreciate suggestions. this code have right now. objects , such e...