Android-CleanArchitecture-Kotlin icon indicating copy to clipboard operation
Android-CleanArchitecture-Kotlin copied to clipboard

Streams

Open St4B opened this issue 7 years ago • 2 comments

I am not in a so good level in using kotlin, so maybe i am missing something, but are not we losing some capabilities by not using streams of data?

St4B avatar May 10 '18 12:05 St4B

I think the message here is not "do not use rxJava" but "you may not use rxJava solely as a Promise/Future library or for handling threads". If you have use cases which resonates well with data streams I think it is still wise to use rx.

Also kotlin coroutines has great support for rx streams: Coroutines & Reactive

mateherber avatar May 10 '18 13:05 mateherber

Yeah, zipping event streams or hiding listeners as Observable (allowing filters and etc) is still good Rx use case

Zhuinden avatar May 10 '18 13:05 Zhuinden