Skip to content

A simple Dagger 2 tutorial, with instructions in the commit messages. The commits will build up from a template, to full functionality without dependency injection, eventually using Dagger 2 in the end.

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 

dagger2-gradle-quickstart

A simple Dagger 2 tutorial, with instructions in the commit messages. The commits will build up from a template, to full functionality without dependency injection, eventually using Dagger 2 in the end.

Issues, pull requests, and forks are encouraged.

Learning Resources

I find the explanations here to be very helpful: http://fernandocejas.com/2015/04/11/tasting-dagger-2-on-android/

FAQ

Where is DaggerApplicationComponent? Your sample doesn't have it and I cannot even build your sample project!

  • Please wait for the project to build, or build it manually. Dagger 2 uses code generation to do its DI black magic.

About

A simple Dagger 2 tutorial, with instructions in the commit messages. The commits will build up from a template, to full functionality without dependency injection, eventually using Dagger 2 in the end.

Resources

Releases

No releases published

Packages

No packages published

Languages