RxPermissions2
Rxjava2.x使用的RxPermissions
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Add the dependency in your module build.gradle
dependencies {
compile 'com.github.houjianbo188:RxPermissions2:v1.0'
}