I have a network call that returns Observable, and I have another network call that is not rx, which depends on the first Observable, and I need to somehow convert it all with Rx.
Observable<Response> responseObservable = apiclient.executeRequest(request);
After execution, I need to make another http call that does not return Observable:
responseObservable.map(response - > execute the no rx network call using the response.id)
noRxClient.getInformation(response.id, new Action1<Information>() {
@Override
public void call(Information information) {
}
});
After that I need to call this method to display the answer
renderResponse(response, information);
How can I connect a non-rx call using rx and then trigger the rendering response all using RxJava?
source
share