See: Description
Interface | Description |
---|---|
ButterKnife.Action<T extends android.view.View> |
An action that can be applied to a list of views.
|
ButterKnife.Injector<T> |
DO NOT USE: Exposed for generated code.
|
ButterKnife.Setter<T extends android.view.View,V> |
A setter that can apply a value to a list of views.
|
Class | Description |
---|---|
ButterKnife |
View "injection" utilities.
|
Enum | Description |
---|---|
ButterKnife.Finder |
DO NOT USE: Exposed for generated code.
|
OnItemSelected.Callback |
AdapterView.OnItemSelectedListener callback methods. |
OnPageChange.Callback |
ViewPager.OnPageChangeListener callback methods. |
OnTextChanged.Callback |
TextWatcher callback methods. |
Annotation Type | Description |
---|---|
InjectView |
Bind a field to the view for the specified ID.
|
InjectViews |
Bind a field to the view for each ID specified in a
List or array. |
OnCheckedChanged |
Bind a method to an
OnCheckedChangeListener on the view for
each ID specified. |
OnClick |
Bind a method to an
OnClickListener on the view for each ID specified. |
OnEditorAction |
Bind a method to an
OnEditorActionListener on the view for each
ID specified. |
OnFocusChange |
Bind a method to an
OnFocusChangeListener on the view for each ID
specified. |
OnItemClick |
Bind a method to an
OnItemClickListener on the view for each ID
specified. |
OnItemLongClick |
Bind a method to an
OnItemLongClickListener on the view for each
ID specified. |
OnItemSelected |
Bind a method to an
OnItemSelectedListener on the view for each
ID specified. |
OnLongClick |
Bind a method to an
OnLongClickListener on the view for each ID
specified. |
OnPageChange |
Bind a method to an
OnPageChangeListener on the view for each ID specified. |
OnTextChanged |
Bind a method to an
TextWatcher on the view for each ID specified. |
OnTouch |
Bind a method to an
OnTouchListener on the view for each ID specified. |
Optional |
Denote that the view specified by the injection is not required to be present.
|
findViewById
calls by using
@InjectView
on fields.@InjectViews
. Operate on all of them at once with
actions, setters, or
properties.@OnClick
and others.Copyright © 2013-2015. All Rights Reserved.