Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

没有subscribe方法 #365

Open
ling976 opened this issue May 12, 2023 · 1 comment
Open

没有subscribe方法 #365

ling976 opened this issue May 12, 2023 · 1 comment

Comments

@ling976
Copy link

ling976 commented May 12, 2023

照着示例写

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

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

@KarisionGou
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants