This example shows how to use Roboguice Dependency Injection Library in your Android app as per the screenshot below
The screenshot below shows how to setContentView with an annotation and View + Resource
Injection works for components other than Activities like Services and BroadcastReceivers.
Define custom modules that specify which Interface references match to which implementation objects when interface variables are used for injection. Declare as many modules as you need.