Closed ywoods closed 4 years ago
when I copy the sample code to AS,I get this issue. I tried to break it to two part,then a new issue raised. Then I tried to import "io.reactivex.rxjava3.core.Observable",but there is no class found.
Observable ob = rxPermissions.request(Manifest.permission.INTERNET); ob.subscribe(granted -> { ... Required type: java.util.Observable Provided: io.reactivex.rxjava3.core.Observable
andrid studio 4.0.1 rxpermissions:0.12
implementation 'io.reactivex.rxjava3:rxjava:3.0.0'
Issue description
when I copy the sample code to AS,I get this issue. I tried to break it to two part,then a new issue raised. Then I tried to import "io.reactivex.rxjava3.core.Observable",but there is no class found.
Observable ob = rxPermissions.request(Manifest.permission.INTERNET); ob.subscribe(granted -> { ... Required type: java.util.Observable Provided: io.reactivex.rxjava3.core.Observable
Lib Version
andrid studio 4.0.1 rxpermissions:0.12