1. 安装插件
1.1 Android View绑定框架
开源地址:https://github.com/JakeWharton/butterknife
插件地址: https://github.com/avast/android-butterknife-zelezny
相关介绍:http://jakewharton.github.io/butterknife/
1.1.1 安装插件
1.1.2 添加依赖
implementation 'com.jakewharton:butterknife:10.1.0'
annotationProcessor 'com.jakewharton:butterknife-compiler:10.1.0'