aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJake Wharton <jw@squareup.com>2014-01-15 16:58:34 -0800
committerJake Wharton <jw@squareup.com>2014-01-15 16:58:34 -0800
commitbc6fcabb92d8d6000e540ea215eac08485ff0634 (patch)
treeb5995ff16e220cc5d45d1948cf89d669fbab6a5e /examples
parentf44a0e10052a9acc26e46f68524d411886949e26 (diff)
downloaddagger2-bc6fcabb92d8d6000e540ea215eac08485ff0634.tar.gz
Switch Android example to use addsTo for a complete module.
Diffstat (limited to 'examples')
-rw-r--r--examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ActivityModule.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ActivityModule.java b/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ActivityModule.java
index 465d66d5d..2f9587c05 100644
--- a/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ActivityModule.java
+++ b/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/ActivityModule.java
@@ -33,7 +33,7 @@ import javax.inject.Singleton;
HomeActivity.class,
HomeFragment.class
},
- complete = false,
+ addsTo = AndroidModule.class,
library = true
)
public class ActivityModule {