没有合适的资源?快使用搜索试试~ 我知道了~
CoPermissions:轻量级Kotlin协程,用于请求Android运行时权限。 在挂起函数中直接使用它而不覆盖onPer...
共55个文件
xml:17个
png:10个
kt:10个
需积分: 9 0 下载量 52 浏览量
2021-03-08
13:18:52
上传
评论
收藏 156KB ZIP 举报
温馨提示
共同权限 轻量级Kotlin协程,用于请求Android运行时权限。 直接在您的暂挂函数中使用它,而不会覆盖onPermissionResult 用法 将其添加到存储库末尾的root build.gradle中: allprojects { repositories { maven { url 'https://jitpack.io' } } } 添加依赖项 dependencies { implementation 'com.github.tech-brahman:CoPermissions:0.1.0' } 在协程内部请求单个权限 suspend fun yourFunc(){ val yourActivity = this@MainActivity //Request permission val result = PermissionCorou
资源推荐
资源详情
资源评论
收起资源包目录
CoPermissions-master.zip (55个子文件)
CoPermissions-master
gradlew.bat 2KB
gradlew 5KB
gradle.properties 1KB
sample
proguard-rules.pro 750B
src
test
java
com
brahman
sample
ExampleUnitTest.kt 342B
androidTest
java
com
brahman
sample
ExampleInstrumentedTest.kt 670B
main
res
mipmap-xxxhdpi
ic_launcher.png 10KB
ic_launcher_round.png 16KB
drawable
ic_launcher_background.xml 5KB
mipmap-hdpi
ic_launcher.png 4KB
ic_launcher_round.png 5KB
drawable-v24
ic_launcher_foreground.xml 2KB
values
colors.xml 378B
strings.xml 82B
styles.xml 413B
mipmap-xxhdpi
ic_launcher.png 8KB
ic_launcher_round.png 12KB
mipmap-mdpi
ic_launcher.png 3KB
ic_launcher_round.png 3KB
mipmap-xhdpi
ic_launcher.png 5KB
ic_launcher_round.png 7KB
mipmap-anydpi-v26
ic_launcher_round.xml 272B
ic_launcher.xml 272B
layout
activity_main.xml 1KB
java
com
brahman
sample
MainActivity.kt 2KB
AndroidManifest.xml 1019B
.gitignore 6B
build.gradle 1KB
gradle
wrapper
gradle-wrapper.jar 53KB
gradle-wrapper.properties 230B
.idea
codeStyles
Project.xml 4KB
codeStyleConfig.xml 142B
gradle.xml 1005B
misc.xml 372B
jarRepositories.xml 1KB
vcs.xml 180B
.name 20B
compiler.xml 170B
.gitignore 47B
.gitignore 225B
README.md 3KB
settings.gradle 84B
kotpermission
proguard-rules.pro 750B
src
test
java
com
brahman
kotpermission
ExampleUnitTest.kt 349B
androidTest
java
com
brahman
kotpermission
ExampleInstrumentedTest.kt 682B
main
java
com
brahman
kotpermission
PermissionResult.kt 361B
PermissionStatus.kt 119B
IPermissionResult.kt 143B
PermissionFragment.kt 2KB
PermissionCoroutine.kt 3KB
AndroidManifest.xml 161B
consumer-rules.pro 0B
.gitignore 6B
build.gradle 1KB
build.gradle 642B
共 55 条
- 1
资源评论
DGGs
- 粉丝: 15
- 资源: 4645
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功