README.md
1 Example: Android Simple
2 =======================
3
4 This example demonstrates how to structure an Android application with Dagger.
5
6 A custom `Application` class is used to manage a global object graph of objects. Modules are
7 assembled with a `getModules` method on the application that can be overridden to add additional
8 modules in development versions of your applications or in tests.
9
10 Injection of activities is done automatically in a base activity.
11
12 _Note: The app does not actually do anything when it is run. It is only to show how you can
13 structure Dagger within an Android app_
14
15 _Note: The app is in transition to Dagger 2 and may not reflect recommended patterns. Before
16 we release Dagger 2.0 it will, but until this note is removed, please do not rely on this
17 example as a strong recommendation._
18