Butterknife - Bind Android views and callbacks to fields and methods.

  •        40

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.




Related Projects

Putty - A clean and simple dependency injection framework for PHP 5.4 inspired by C#'s Ninject

Features========- Simple yet versatile fluent binding syntax- Organise bindings into easy to manage modules- Promotes loosly coupled systems- Classes have no dependency to Putty- Constructor injection (the best type of injection)- Flexible instance lifecycles- Optional lazy loading for bindings- Customizable binding cacheInstallation============Clone repo to your project and simply `require 'Putty\Putty.php';`Your first Putty Module======================Organise your bindings into their own modu

MVVM-WPF(+Silverlight 5.0) XAML Markup Dependency Injection Binding Extensions

XAML mark-up extensions for MVVM pattern. Mark-up extensions allow to bind RouteEventHandler, Command and other to targets via Dependency Injection.

HK2 - A light-weight and dynamic dependency injection framework

HK2 is a light-weight and dynamic dependency injection framework. HK2 is an implementation of JSR-330 in a JavaSE environment. JSR-330 defines services and injection points that can be dynamically discovered at runtime and which allow for Inversion of Control (IoC) and dependency injection (DI).

mortar - A simple library that makes it easy to pair thin views with dedicated controllers, isolated from most of the vagaries of the Activity life cycle

Mortar provides a simplified, composable overlay for the Android lifecycle, to aid in the use of Views as the modular unit of Android applications. It leverages Context#getSystemService to act as an a la carte supplier of services like dependency injection, bundle persistence, and whatever else your app needs to provide itself.One of the most useful services Mortar can provide is its BundleService, which gives any View (or any object with access to the Activity context) safe access to the Activity lifecycle's persistence bundle. For fans of the Model View Presenter pattern, we provide a persisted Presenter class that builds on BundleService. Presenters are completely isolated from View concerns. They're particularly good at surviving configuration changes, weathering the storm as Android destroys your portrait Activity and Views and replaces them with landscape doppelgangers.

Dependency Injection Service Provider (DISP)

Dependency Injection Service Provider (DISP) is a wrapper or an interface that aim to allow .NET developers use one of the inversion of control (IoC) containers out there such as StructureMap or Ninject from a high level of abstraction, using the same interface and classes wi...


Develop android application in a modern way. Write less code: appkit uses many popular Annotation Processing libraries like Butterknife, IcePick, Dependency Injection with Dagger and achieve a very clean software architecture with Model-View-Presenter (MVP)

StructureMap - A Dependency Injection/Inversion of Control tool for .NET

StructureMap is a feature rich IoC tool with support for interception, object lifecycles and intelligent disposal patterns, open generic types, modular registrations, conventional registration, custom policies, and all the injection pattern support you would expect in a modern .Net IoC container.

Mugen Injection

A lightweight and fast managed IoC (Inversion of Control) and DI (Dependency Injection) with support for constructor, property, field, and method call injection

LogikBug's IoC Container

LogikBug's IoC dependency injection container is very light weight. Finding a dependency injection container to suite my needs seemed rather cumbersome. So, I wrote this DI Container to suite my needs. There are many ways to register types, including scanning assemblies...

AppServices - lightweight framework for IOC and Dependency Injection in SOA

AppServices is a lightweight service container which can inject services into other objects, visual controls or components. It works with .NET Full, .NET Compact and Silverlight (included WP7). It manages automatically the service dependency. Its advantage is declarative confi...


DContainer is a common dependency injection adapter for the popular IoC container.

Tiny Container

TinyContainer is a minimal yet powerful Dependency Injection Framework and IOC Container. This was initially written for Silverlight. And we also have a version for .NET 4 and Win Phone 7. And I have future plan for mono


Dependency Injection Container with a very simple API.

OpenNETCF.IoC Framework

A lightweight managed IoC (Inversion of Control) and DI (Dependency Injection) framework designed for the .NET .Compact Framework but the full framework is supported as well. It supports Registration, construction and even event aggregation in a tiny and wicked fast package. ...

ComponentGlue - A lightweight dependency injection / IoC container.

A lightweight dependency injection / IoC container.

mydi - My dependency injection (DI) and inverse of control(IoC)

My dependency injection (DI) and inverse of control(IoC)

sanders - Simple Dependency Injection (IOC) Container for node.js

Simple Dependency Injection (IOC) Container for node.js

silk - Elegant lightweight Java Inversion of Control (IoC) / Dependency Injection (DI) framework

Elegant lightweight Java Inversion of Control (IoC) / Dependency Injection (DI) framework

fuelblade - FuelBlade Dependency Injection / IoC Library for PHP

FuelBlade Dependency Injection / IoC Library for PHP

Kaiten-Container - Simples dependency-injection (DI) container, distant relation of IoC.

Simples dependency-injection (DI) container, distant relation of IoC.