This release includes two new injecting base classes:
InjectingAppWidgetProvider
InjectingActionBarActivity
(suggested by Tyler Chesley)
In addition, InjectingApplication
was enhanced with a new addSeedModules()
method to facilitate unit testing with test-method-specific dagger modules. See Initialize your Android component’s dagger object graph on a per-method basis in your Robolectric tests for a detailed explanation of how to use this feature.
Finally, InjectingServiceModule
's provideApplicationContext()
provider method was replaced with provideServiceContext, which seems to make more sense in that, uh... context.