All Versions
48
Latest Version
Avg Release Cycle
81 days
Latest Release
960 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v5.0.1 Changes
May 04, 2014- New: Support
Dialog
as injection source. - Fix: Unwrap
InvocationTargetException
causes for more helpful exceptions.
- New: Support
-
v5.0.0 Changes
April 21, 2014- 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:
-
v4.0.1 Changes
November 25, 2013- Fix: Correct a problem preventing the annotation processor to access Android types when certain
javac
configurations were used to build.
- Fix: Correct a problem preventing the annotation processor to access Android types when certain
-
v4.0.0 Changes
November 25, 2013Views
class is now namedButterKnife
- New listeners!
View
:@OnLongClick
and@OnFocusChanged
.TextView
:@OnEditorAction
.AdapterView
:@OnItemClick
and@OnItemLongClick
.CompoundButton
:@OnCheckedChanged
.
- New: Views are now only checked to be
null
once if at least one of the fields and/or methods lack the@Optional
annotation. - Fix: Do no emit redundant casts to
View
for methods.
- New listeners!
-
v3.0.1 Changes
November 12, 2013- Fix: Do not emit redundant casts to
View
.
- Fix: Do not emit redundant casts to
-
v3.0.0 Changes
September 10, 2013- New: Injections are now required. An exception will be thrown if a view is
not found. Add
@Optional
annotation to suppress this verification.
- New: Injections are now required. An exception will be thrown if a view is
not found. Add
-
v2.0.1 Changes
July 18, 2013- New: Control debug logging via
Views.setDebug
.
- New: Control debug logging via
-
v2.0.0 Changes
July 16, 2013- New:
@OnClick
annotation for binding click listeners to methods!
- New:
-
v1.4.0 Changes
June 03, 2013- New:
Views.reset
for settings injections back tonull
in a fragment'sonDestroyView
callback. - Fix: Support parent class injection when the parent class has generics.
- New:
-
v1.3.2 Changes
April 27, 2013- Multiple injections of the same view ID only require a single find call.
- Fix: Ensure injection happens on classes who do not have any injections but their superclasses do.