https://kotlinlang.org logo
#rx
Title
# rx
l

liminal

06/21/2019, 4:43 AM
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

louis993546

06/21/2019, 5:08 AM
subscribeBy
is nice 👍
1
Most of them are pretty handy
a

alexsullivan114

06/21/2019, 1:57 PM
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

louis993546

06/21/2019, 2:41 PM
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

ursus

06/21/2019, 3:25 PM
Just try combineLatest without rxkotlin
l

liminal

06/23/2019, 2:11 AM
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

ursus

06/23/2019, 2:12 AM
what is so different?
a

alexsullivan114

06/24/2019, 10:31 AM
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.
2 Views