代码拉取完成,页面将自动刷新
对 ARouter 封装和 ActivityResultApi 封装汇总,ARouter封装和ActivityResultAPi 功能有类似的地方,都有跳转回调相关的方法,不过 ARouter 更偏向于组件间跳转,而 ActivityResultApi 除了跳转外,还有请求权限相关功能及谷歌新增获取联系人等方法,两个博客里面都有详细介绍,这篇主要是介绍如何导入。
最新版:
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://www.jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.gitee.quetzalcoatl.ActivityResultApi:0.0.4'
}
implementation 'com.gitee.quetzalcoatl.ActivityResultApi:arouter:0.0.4'
implementation 'com.gitee.quetzalcoatl.ActivityResultApi:api:0.0.4'
遇到问题可以参考ARouter封装和ActivityResultAPi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。