Butter Knife v5.0.0 Release Notes
Release Date: 2014-04-21 // about 10 years ago-
- New:
@InjectViews
annotation groups multiple IDs into aList
or array. - New:
ButterKnife.apply
method applies anAction
,Setter
, or AndroidProperty
to views in a list. - New listeners!
ViewPager
:@OnPageChange
.AdapterView
:@OnItemSelected
.TextView
:@OnTextChanged
.
- New: Multi-method listener support. Specify a
callback
argument to choose which method the binding is for. (See@OnItemSelected
for an example) - Fix: Support for generic types which are declared with an upper-bound.
- Fix: Use less sophisticated method injection inspection in the annotation processor. The previous method caused problems with some Eclipse configurations.
- New: