配合使用AutoDispose失败
autught opened this issue · 3 comments
autught commented
如果配合AutoDispose使用的话,as(AutoDispose.autoDisposable(AndroidLifecycleScopeProvider.from(lifecycleOwner))
之后subscribe()中的判断就不会执行
反之,则正常
autught commented
If used with autodispose,
as (AutoDispose.autoDispose (AndroidLifecycleScopeProvider. from (lifecycleOwner))
After that, the judgment in subscribe () will not be executed
SuperXpher commented
Me too.
relish-wang commented
use this please:
.as(AutoDispose.autoDisposable(AndroidLifecycleScopeProvider.from(this, Lifecycle.Event.ON_DESTROY)))