v2.0
This major revision was made to support RxJava 2. RxLifecycle 2.0 lives in a new namespace and package
names so that it can work side-by-side with RxLifecycle 1.0 (while transitioning).
The biggest change is that LifecycleTransformer
now works for all RxJava types:
Observable
, Flowable
, Single
, Maybe
and Completable
. Unlike before, there's
no extra steps you have to take to make it work with types other than Observable
.