tbruyelle/RxPermissions

配合使用AutoDispose失败

autught opened this issue · 3 comments

如果配合AutoDispose使用的话,as(AutoDispose.autoDisposable(AndroidLifecycleScopeProvider.from(lifecycleOwner))
之后subscribe()中的判断就不会执行

反之,则正常

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)))