tbruyelle / RxPermissions

Android runtime permissions powered by RxJava2
Apache License 2.0
10.48k stars 1.31k forks source link

没有subscribe方法 #365

Open ling976 opened 1 year ago

ling976 commented 1 year ago

照着示例写

 rxPermission.request(permissions)
            .subscribe(new Consumer<Boolean>() {
                    @Override
                    public void accept(Boolean granted)  {
                    }
                });

然后subscribe报错,没有这个方法

KarisionGou commented 10 months ago

单独引入 implementation "io.reactivex.rxjava3:rxjava:3.0.4"