Converting to Flowables

It is a very similar process to convert an old Observable to Flowable:

toV2Flowable(rx.Observable.just("One", "Two", "Three"))
.doOnNext(i -> log("doOnNext", i))
.subscribe(i -> log("subscribe", i));

It's pretty much identical to what we have seen with toV2Observable.

The other conversations follow the same pattern, so using them is very straightforward.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.59.227.82