Butterknife: Butterknife and dataBinding are used together

Created on 6 Apr 2018  Â·  3Comments  Â·  Source: JakeWharton/butterknife

qq 20180406182003
Butterknife ver 8.8.1
Butterknife and dataBinding are used together
@BindView acquisition is NULL
But DataBinding is ok
Why??? Please help me………………

Most helpful comment

if you use kotlin ,change annationProcessor to kapt

All 3 comments

This is not sufficient information to be an actionable bug report. For example, it's not clear that you're even calling ButterKnife.bind. Check to see that the library is configured correctly against the README, that the generated code is showing up in build/generated/source, and that you're calling ButterKnife.bind. If there is still a problem when all those things are done correctly, if you can create a small, self-contained project that reproduces the issue I'll take a look.

I am facing the same problem. Even after calling ButterKnife.bind it is not working.

if you use kotlin ,change annationProcessor to kapt

Was this page helpful?
0 / 5 - 0 ratings