An annotation-based Android view "injection" framework aimed at reducing boilerplate.
View "injection" library for Android which uses annotation processing to generate boilerplate code for you.
- Eliminate findViewById calls by using @Bind on fields.
- Group multiple views in a list using @BindViews. Operate on all of them at once with actions, setters, or properties.
- Eliminate anonymous inner-classes for listeners by annotating methods with @OnClick and others.
The documentation includes additional code examples and use cases.
ButterKnife is open sourced under Apache 2.0 license.