Machin. ! • Other language implementations also available: RxScala, RxGroovy, RxKotlin, RxJS, etc. All of them are implemented with respect to respective languages’ style & idioms.! • RxAndroid is RxJava + Android helper classes!
thread and fire the callbacks on UI thread (actually, any threads)! • Chaining sequential tasks without callback hell ! • Using multiple data sources (e.g. remote API, disk cache, memory cache, etc)! • Batch processing big amount of data into small chunks! • Threat anything as data streams:! – Social stream from API! • Streams are flexible, you can:! – Transform! – Filter! – Throttle! – Combine it with other streams! • Observables can act as event bus! • Supported by Retrofit library out of the box!
reactive programming! • Composable! • It doesn’t care of its implementation:! – Synchronous or asynchronous! – Which threads are you using! – Use actors or thread pools! – etc!