Injects views, resources, extras, etc. into Android activities and arbitrary Java objects.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


greenInject is a injection library for Android optimized for minimal size.

Read more about greenInject:

Release History

V0.6 (2011-09-08)

  • Workaround for which crashes @OnClick annotations on Android 2.1 and below. Should be fine with Android 1.6 now.
  • Value binding for ImageView (one-way)
  • Annotation @Target allows compile time checks for annotation's location
  • Separated ValueBinder from Injector

V0.5 (2011-08-29)

Initial open source version with basic features:

  • Inject views
  • Inject most important resource types
  • Inject Intent extras
  • Value binding for TextView descendants and Strings
  • Listener Binding with @OnClick