Could you add here the implementation of the subscriber in case of Single (I mean without lambdas).
szabo arnold
1

Sure. Here it is:

apiClient.getMyData()
.subscribe(new Consumer<MyData>() {
@Override
public void accept(MyData myData) throws Exception {

}
}, new Consumer<Throwable>() {
@Override
public void accept(Throwable throwable) throws Exception{

}
});
Show your support

Clapping shows how much you appreciated Valentin Hinov’s story.