AOP为Aspect Oriented Programming的缩写,意为:面向切面编程,通过预编译方式和运行期动态代理实现程序功能的统一维护的一种技术。这个是AndroidStudio使用AOP的插件。
在项目根目录的build.gradle文件中
dependencies {
classpath 'com.shouzhong.plugin:AOP:1.1.0'
...
}
在module的build.gradle文件中
apply plugin: `com.shouzhong.aop`