You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
autodispose-android-archcomponents: Utilities for lifecycles in android archcomponents, previously :autodispose-android-archcomponents but does not have the test helper
New:autodispose-android-archcomponents-test: Test utilities for working with arch components, namely TestLifecycleOwner, formerly TestAndroidLifecycleScopeProvider.
This allows us to remove the extensions dependency from the main arch components artifact and keep this optional. This API can also be used for general use testing for arch components, as it's not actually specific to AutoDispose.
New:autodispose-android-kotlin: kotlin bindings for autodispose-android
New:autodispose-android-archcomponents-kotlin: kotlin bindings for autodispose-android-archcomponents
New:autodispose-android-archcomponents-test-kotlin: kotlin bindings for autodispose-android-test-archcomponents
Now you can bind until a specific target event, or provide your own boundary provider function
Behavior change: previously, anything occurring after ON_STOP would resolve to ON_DESTROY. Now, they resolve to stop on the next destruction event. This brings it inline with the modern behavior of arch components version -rc1.
WIP notes for changelog when we release, which should be soooooonish
Structured Android Components (#111)
Android components have been split up into several artifacts under
:android
:autodispose-android
: Core android utilities, previously:autodispose-android
autodispose-android-archcomponents
: Utilities for lifecycles in android archcomponents, previously:autodispose-android-archcomponents
but does not have the test helperautodispose-android-archcomponents-test
: Test utilities for working with arch components, namelyTestLifecycleOwner
, formerlyTestAndroidLifecycleScopeProvider
.extensions
dependency from the main arch components artifact and keep this optional. This API can also be used for general use testing for arch components, as it's not actually specific to AutoDispose.autodispose-android-kotlin
: kotlin bindings forautodispose-android
autodispose-android-archcomponents-kotlin
: kotlin bindings forautodispose-android-archcomponents
autodispose-android-archcomponents-test-kotlin
: kotlin bindings forautodispose-android-test-archcomponents
Related changes:
1.0.0-rc1
, which should fix compatibility issues noted in Compatibility with android.arch.lifecycle 1.0.0-rc1 #113untilEvent
overload for AndroidLifecycleScopeProvider (Add untilEvent overload for AndroidLifecycleScopeProvider#from #107)ON_STOP
would resolve toON_DESTROY
. Now, they resolve to stop on the next destruction event. This brings it inline with the modern behavior of arch components version-rc1
.AndroidLifecycleScopeProvider
s are now reusable. This is somewhat experimental, as it works by dynamically resolving the last event based on the state. Please report any issues! (Make AndroidLifecycleScopeProvider reusable by deferring backfill to peekLifecycle #121)RxLifecycle Interop
A new
autodispose-rxlifecycle
interop module was added, adding support for scoping to RxLifecycle'sLifecycleProvider
API. (#118)Misc
unbound()
factory onTestScopeProvider
(Lint suppressions and use custom observers in lifecycle subscriptions #108)Thanks to the following contributors! @rubengees @bangarharshit
The text was updated successfully, but these errors were encountered: