Skip to content

Simple example for Dagger2 as an inversion of control solution for android archive module (AAR) development

Notifications You must be signed in to change notification settings

EldarZ/dagger2_aar_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dagger2 simple example

This example demonstrates inversion of control in android archive (AAR) module by using dagger2. The application is using the production code from the AAR, while the test inject a mock dependency.

  • SomeModule is your production module.
  • SomeClass is a class from your production module that has an internal dependency.
  • DependencyClass is your production code dependency you would like to mock in your tests.

About

Simple example for Dagger2 as an inversion of control solution for android archive module (AAR) development

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages