I Just started using butterknife.
In the project, colleagues using butterknife, version is 7.0.0.
I saw him write
Yup, the syntax changed in the version 8.0.
You can check the changelog here: https://github.com/JakeWharton/butterknife/blob/master/CHANGELOG.md#version-800-2016-04-25 to see al the changes. But from 7.X to 8.X the changelog is:
@BindViews(one view and multiple views, respectively).
- Calls to
bindnow return an
Unbinderinstance which can be used to
nullreferences. This replaces the
unbindAPI and adds support for being able to clear listeners.
Bitmapinstances from resources to fields.
@BindDrawablenow supports a
tintfield which accepts a theme attribute.
The runtime and compiler are now split into two artifacts.
applyoverloads which accept a single view and arrays of views.
- ProGuard rules now ship inside of the library and are included automatically.
@Optionalannotation is back to mark methods as being optional.