butterknife使用
//学习地址 :https://www.jianshu.com/p/3678aafdabc7
- 导入依赖
implementation 'com.jakewharton:butterknife:9.0.0-rc1'
annotationProcessor 'com.jakewharton:butterknife-compiler:9.0.0-rc1'
二.导入权限
classpath 'com.jakewharton:butterknife-gradle-plugin:9.0.0-rc1'
三.导入文件
apply plugin: 'com.jakewharton.butterknife'