Skip to content
This repository has been archived by the owner on Feb 4, 2022. It is now read-only.

freefair/android-injection

Repository files navigation

android-injection

Dependency Injection for Java and Android

How to include:

Core features:

  • @Inject
    • Inject everything into everthing

Android Features:

  • @InjectView(R.id.myView)
    • Inject your views into Activities, Fragments and ViewGroups
  • @InjectResource(id, type) and @InjectAttribute(id, type)
    • Inject Resources and Attributes into everything
  • @XmlLayout(R.layout.main) and @XmlMenu(R.menu.main)
    • Set the Layout and Menu for your Activities and Fragments