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更方便

上一篇 下一篇

猜你喜欢

热点阅读