Android Butterknife - binding in fragment

前端 未结 3 2019
半阙折子戏
半阙折子戏 2021-02-11 12:19

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:10

    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

提交回复
热议问题