Butter knife

Your local guide to cities, towns, neighborhoods, states, counties, metro areas, zip codes, area codes, and schools in USA. Deprecation Notice This tool is now deprecated. Existing versions will continue to work, obviously, but only critical bug fixes for integration with AGP will be butter knife. Feature development and general bug fixes have stopped.

Instead of slow reflection, code is generated to perform the view look-ups. Non-Activity Binding You can also perform binding on arbitrary objects by supplying your own view root. Another use is simplifying the view holder pattern inside of a list adapter. Bind arbitrary objects using an activity as the view root. View Lists You can group multiple views into a List or array. The apply method allows you to act on all the views in a list at once. Action and Setter interfaces allow specifying simple behavior.

Listener Binding Listeners can also automatically be configured onto methods. All arguments to the listener method are optional. Define a specific type and it will automatically be cast. Specify multiple IDs in a single binding for common event handling.

CATEGORIES
TAGS
Share This