I noticed that even if we do not introduce rxjava2 dependency and only add rxandroid dependency, it works well when I deal with network request and response with retrofit and okhttp.
I can also use operators of rxjava.
So what is the relationship with rxjava and rxandroid?
I am an Android developer.Is it not necessary to add rxjava together with rxandroid?
In this way I can reduce the size of app and method count.
Or I am wrong?
RxAndroid still relies upon 1.0.13 of RxJava. If you however specify a new rxjava dependency that one will be overridden. As you can see here 1.0.13 -> 1.1.0
From the README:
// 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.
I noticed that even if we do not introduce rxjava2 dependency and only add rxandroid dependency, it works well when I deal with network request and response with retrofit and okhttp.
I can also use operators of rxjava.
So what is the relationship with rxjava and rxandroid?
I am an Android developer.Is it not necessary to add rxjava together with rxandroid? In this way I can reduce the size of app and method count.
Or I am wrong?
So every time I need to add two dependency.