About Project
一个Android授权操作工具套件,使用请参考app或yApp.
(An Android authorization tool suite,please refer to app or yApp.)
When you use Gradle to build a dependency can be added to:
compile 'com.github.jay-y:permission:1.0.2'
Usage
PermissionUtil
.with(getContext())
.permissions(
PermissionUtil.PERMISSIONS_GROUP_LOACATION,//定位授权
PermissionUtil.PERMISSIONS_GROUP_CONTCATS//获取联系人授权
).request();