RxJava的一个针对Android平台的扩展:RxAndroid
jopen
9年前
RxAndroid是RxJava的一个针对Android平台的扩展。它包含了一些能够简化Android开发的工具。
This module adds a number of classes to RxJava that make writing reactive components in Android applications easy and hassle free. More specifically, it
- provides aSchedulerthat schedules anObservableon a given AndroidHandlerthread, particularly the main UI thread
- provides baseObserverimplementations that make guarantees w.r.t. to reliable and thread-safe use throughoutFragmentandActivitylife-cycle callbacks (coming soon)
- provides reusable, self-contained reactive components for common Android use cases and UI concerns (coming soon)