4 ms·
I want to integrate RxJava in my Android app, but I can't seem to find an up-to-date, cohesive tutorial to do exactly that. Most tutorials I read usually step 1
by wiradikusuma 11y ago
I want to integrate RxJava in my Android app, but I can't seem to find an up-to-date, cohesive tutorial to do exactly that. Most tutorials I read usually step 1. very basic reactive concept, step 2. ..., step 3. profit.
- tartuffe78 11y agoWe ran into that as well integrating it into a 3 year old Android codebase. We followed these tutorials at first, but it definitely just took a lot of time and trying things out. http://blog.danlew.net/2014/09/15/grokking-rxjava-part-1/ http://blog.danlew.net/2014/09/15/grokking-rxjava-part-1/ RxJava + Retrolambda has accelerated our development speed once we got a grip on it, but it does complicate our build process.
- j_horvat 11y ago+1 for Grokking RxJava, really great set of intros, especially from an Android perspective. Gonna pile my two cents on this as well. I think the easiest place to add RxJava in an existing Android app would be your networking code. Square's Retrofit works really really well with Observables and you can do some very interesting things that imo are more immediately graspable than say writing reactive UI code. https://joluet.github.io/blog/2014/07/07/rxjava-retrofit/ https://joluet.github.io/blog/2014/07/07/rxjava-retrofit/ This is a short post that I think nicely shows how Retofit+RxJava fit together