@BindView fields must not be private or static. i don't know,why??
Because the generated code needs to be able to assign the values.
Views are private then @BindView not allow.
@ut2014 you only delete private it will done
@JakeWharton Can butterknife work with private variables that have setter? That seems to be a more robust way of doing things.
No
On Mon, Oct 8, 2018 at 5:20 PM Aditya Chaturvedi notifications@github.com
wrote:
@JakeWharton https://github.com/JakeWharton Can butterknife work with
private variables that have setter? That seems to be a more robust way of
doing things.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/518#issuecomment-427982879,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEUUGst3Ce2gvPxLfUKFwJQQ9JNWOks5ui8GRgaJpZM4IRqdJ
.
Most helpful comment
Because the generated code needs to be able to assign the values.