Android Butterknife - binding in fragment

前端 未结 3 1093
孤独总比滥情好
孤独总比滥情好 2021-02-11 12:45

I\'m using Butterknife for the first time but something must be wrong. I have a fragment and a Listview and a TextView just for testing but Butterknife wont bind my variables:

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-11 13:07

    Code-wise, that looks just fine. So based on the comments, it looks like you need to setup the annotation processing in Eclipse: http://jakewharton.github.io/butterknife/ide-eclipse.html

提交回复
热议问题