Kotlin使用ButterKnife
2019-08-08 本文已影响0人
晓晓桑
注意:
把
implementation "com.jakewharton:butterknife-compiler:10.1.0"
implementation rootProject.ext.dependencies["butterknife"]
改成:
kapt "com.jakewharton:butterknife-compiler:10.1.0"
implementation rootProject.ext.dependencies["butterknife"]
kotlin支持java
友情提示:用kotlin开发就不用butterknife啦,kotlin更方便