as butterknife 插件使用
动图使用详细 1.安装插件 2. 配置 gradle dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.jakewharton:butterknife:8.5.1' annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1' compile "com.android.support:support-v4:$SUPPORT_VERSION" compile "com.android.support:design:$SUPPORT_VERSION" testCompile "junit:junit:$JUNIT_VE...