Releases: trello-archive/RxLifecycle
Releases · trello-archive/RxLifecycle
v0.2.0
-
#14: Use takeUntil internally (instead of a faulty custom operator)
While this fixes some intractable problems that could occur with the old system, it also includes a major behavior
change: when the bind decides to stop subscribing, it callsonCompleted
(whereas before it would just
unsubscribe).When upgrading, you should check that your usages of
onCompleted
(either insubscribe()
,doOnCompleted()
,
ordoOnTerminate()
) can handle the sequence ending due to the lifecycle bind.If you still need the old behavior in some spots, you should handle the
Subscription
yourself manually (and call
unsubscribe()
when appropriate). -
#16: Lowered minSdkVersion to 14
v0.1.0
Initial independent release (split from RxAndroid 0.25.0)
- Added support for AppCompatActivity via
RxAppCompatActivity
- Components (e.g.
RxActivity
) now supportbindUntilEvent()
andbindToLifecycle()
, which avoids having to deal with the lifecycleObservable
directly.
Differences from RxAndroid 0.25
- Renamed
LifecycleObservable
toRxLifecycle
- Switched from wrapping
Observables
to usingTransformer
+compose()
(which allows for chaining) - Split
LifecycleEvent
into two parts -ActivityEvent
andFragmentEvent
, in order to prevent easy mixups that could occur before - Split
bindUntilLifecycleEvent()
intobindUntilFragmentEvent()
andbindUntilActivityEvent()
- Renamed
bindFragmentLifecycle()
tobindFragment()
- Renamed
bindActivityLifecycle()
tobindActivity()