Closed autught closed 4 years ago
If used with autodispose, as (AutoDispose.autoDispose (AndroidLifecycleScopeProvider. from (lifecycleOwner))
After that, the judgment in subscribe () will not be executed
Me too.
use this please:
.as(AutoDispose.autoDisposable(AndroidLifecycleScopeProvider.from(this, Lifecycle.Event.ON_DESTROY)))
如果配合AutoDispose使用的话,as(AutoDispose.autoDisposable(AndroidLifecycleScopeProvider.from(lifecycleOwner)) 之后subscribe()中的判断就不会执行
反之,则正常