android-clean-architecture-boilerplate icon indicating copy to clipboard operation
android-clean-architecture-boilerplate copied to clipboard

Kotlin coroutines

Open rendecano opened this issue 7 years ago • 1 comments
trafficstars

If you were to implement the same framework in Kotlin coroutines instead of using RxJava2 to avoid callbacks (onSuccess, onError) from presenter, how will you do it? Just curious.. :)

Cheers,

Ren

rendecano avatar Feb 14 '18 23:02 rendecano

Found an interesting approach for coroutines implementation.

https://medium.com/@andrea.bresolin/playing-with-kotlin-in-android-coroutines-and-how-to-get-rid-of-the-callback-hell-a96e817c108b

I'll try to create a fork and see if I can implement it.. :)

Cheers,

Ren

rendecano avatar Feb 15 '18 00:02 rendecano