This demo which corresponds to a video shows how to use roboguice in android
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
.gitignore
README.md
RoboguiceDemo.iml
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

RoboguiceDemo

This example shows how to use Roboguice Dependency Injection Library in your Android app as per the screenshot below

testgif

The screenshot below shows how to setContentView with an annotation and View + Resource snap 2015-09-11 at 14 36 43

Injection works for components other than Activities like Services and BroadcastReceivers. snap 2015-09-11 at 14 38 30

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. snap 2015-09-11 at 14 39 38