I exchanged RxJava for Coroutines, why and how
I exchanged RxJava from my projects for Coroutines, don’t get me wrong RxJava is amazing, but most developers don’t actually use it to its full potential, more commonly is used to resolve the synchronism problem in Android.
I implemented a base Interactor class that uses Coroutines writing code that looks like synchronous, but actually is asynchronous, in a way that is more easy to read and write, RxJava have a steep learning curve and sometimes is difficult to understand. I will show a performance analyse for both approaches and some examples.
15 maart 2019