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
Error prone has been integrated. Currently the annotations are just marked as compileOnly, but if a need arises/community wants them - we can compile them in a future version.
The text was updated successfully, but these errors were encountered:
It's a bit easier to integrate. If you take a look at the current
implementation in our error handler, it's a pretty fragile process to
properly pull out the lifecycle exceptions when they are already wrapped in
multiple exceptions.
This adds
autoDisposeWith()
extensions to RxJava types.myObservable .doWhatever() .autoDisposeWith(this) .subscribe()
Modeled after RxJava's plugins, this allows you to customize the behavior of AutoDispose with lifecycle boundary checks.
A good use case of this is, say, just silently disposing/logging observers outside of lifecycle exceptions in production but crashing on debug.
Two helpers were added to simulate conditions in testing.
TestLifecycleScopeProvider
start()
andstop()
TestScopeProvider
emit()
.For testing with just the
Maybe<?>
scope, we recommend using RxJava's built-inMaybeSubject
.@CheckReturnValue
annotations tosubscribeWith
methods. (Add CheckReturnValue annotations to subscribeWith #53)Other tidbits:
@NonNull
annotations. Everything is@NonNull
by default, and only elementsannotated with
@Nullable
are not.java-library
plugin for gradle (Update to java-library plugin #64). The RxJava dependencies are marked asapi
.compileOnly
, but if a need arises/community wants them - we can compile them in a future version.The text was updated successfully, but these errors were encountered: