Using Butter Knife in Custom BaseAdapter SubClass Results in “Unable to inject views” error

后端 未结 5 844
甜味超标
甜味超标 2021-02-18 13:59

I\'m attempting to use Butter Knife to simplify creation of a custom BaseAdapter class. I\'m following the example here: http://jakewharton.github.io/butterknife/ under the \"A

5条回答
  •  情书的邮戳
    2021-02-18 14:01

    I had a similar problem with ButterKnife, but the reason was that I was inflating my fragment with the wrong layout.

    (I know the question was already answered, but I decided to post my solution in case someone had the same issue)

提交回复
热议问题