Skip to content

dajiba666/AopPermission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#发现网上有很多权限请求框架,所以我自己也来写一个aop的请求框架,好处是不入侵原有代码达到解耦的效果。

使用方法

 @Permission({Manifest.permission.READ_EXTERNAL_STORAGE})
    public void onClick(View v){
        Toast.makeText(this,"切面成功",Toast.LENGTH_LONG).show();
    }

About

基于切面请求权限

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages