Trying to justify using RxKotlin on top of RxJava ...
# rx
l
Trying to justify using RxKotlin on top of RxJava 2. So far I like the plusAssign operator to add to CompositeDisposable as well as clarity of writing out of onNext, onError, etc. anything else that you like? I wonder how RxKotlin will affect RxJava 2 to RxJava 3 conversion
l
subscribeBy
is nice 👍
1
Most of them are pretty handy
a
Also it makes using
zip
and other combining operators a lot easier. I've spent a lot of time trying to figure out why the hell
Observable.zip
isn't compiling in Kotlin. Using the
Observables
namespace handles it easily.
1
Somewhat tangential, but I think
RxKotlin
is a poor name for the library. It causes endless confusion
l
yea, there is a thread for 2 years now about that: https://github.com/ReactiveX/RxKotlin/issues/115 and it looks like badoo actually went ahead and do it themselves: https://github.com/badoo/Reaktive
u
Just try combineLatest without rxkotlin
l
i am a little scared of rxjava 2 to 3 conversion while rxkotlin is used. the conversion that will need to happen in the next year and a half
u
what is so different?
a
As far as I can tell, the primary change for RxJava3 is that different portions of the library are being split off into different modules. That should be an easy update for the RxKotlin maintainers to add.