Answer the question
In order to leave comments, you need to log in
RxJava + Retorfit: how to wait for 2 requests to complete?
I'm just starting to learn RxJava? Possibly a lammer question: I'm doing
2 requests using Retrofit. I get 2 Observables. Now I need to do something when both of these requests are executed (if anyone is familiar with the concept of Promise, then something like Promise.all )
Is it possible to do this with RxJava
Answer the question
In order to leave comments, you need to log in
zip or combineLatest
And in general there are docks, with pictures. You can read all the operators in the evening and then remember if necessary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question