Difference between RxJava and RxAndroid?
为什么我们需要将RxAndroid与RxJava一起使用?它们与RxAndroid和RxJava的实际使用之间的功能区别是什么?我找不到合适的答案。
Android specific bindings for RxJava 2.
This module adds the minimum classes to RxJava that make writing
reactive components in Android applications easy and hassle-free. More
specifically, it provides a Scheduler that schedules on the main
thread or any given Looper.
请注意,在使用
Because RxAndroid releases are few and far between, it is recommended you also explicitly depend on RxJava's latest version for bug fixes and new features.
RxAndroid不会替换rxjava。它是Android特定的rxjava实用程序的小型库。例如,它使Android应用程序主线程可用作rxjava调度程序。
RxAndroid和RxJava之间的主要区别是调度程序。调度程序在RxAndroid中特别可用,而在RxJava中则不可用,这有助于有效地进行线程化。
https://www.androidhive.info/RxJava/android-getting-started-with-reactive-programming/