Butterknife - Bind Android views and callbacks to fields and methods.
Field and method binding for Android views which uses annotation processing to generate boilerplate code for you. Annotate fields with @BindView and a view ID for Butter Knife to find and automatically cast the corresponding view in your layout. Instead of slow reflection, code is generated to perform the view look-ups. Calling bind delegates to this generated code that you can see and debug.
- Eliminate
findViewById
calls by using@BindView
on fields. - Group multiple views in a list or array. 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. - Eliminate resource lookups by using resource annotations on fields.
http://jakewharton.github.io/butterknife/
https://github.com/JakeWharton/butterknife
License:
Tech:
Tags: