butterknife的8.5.1版本问题

使用7.0.1版本没有问题
compile 'com.jakewharton:butterknife:7.0.1'




使用8.5.0版本时候,必须配合下面的compiler插件一起使用,否则会出现点击事件不能响应的情况。
compile 'com.jakewharton:butterknife:8.5.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.5.1'

详见:https://github.com/JakeWharton/butterknife
posted @ 2017-03-02 15:10  Travis1022  阅读(1280)  评论(0编辑  收藏  举报