Dagger 2 examples

MLProgrammer-CiM picture MLProgrammer-CiM · Nov 19, 2014 · Viewed 26k times · Source

Dagger 2 is around the corner but the available examples wouldn't even compile right off the box, and the documentation is a copy-paste-replace from Dagger 1.

Does anyone have an example of a proper application working on Google's Dagger 2?

Answer

mateusz.grzechocinski picture mateusz.grzechocinski · Dec 12, 2014

I've just published sample app based on Gradle which integrates Dagger2, retrolambda, butterknife and lombok. You can find it here: https://github.com/mgrzechocinski/dagger2-example.

Hope it would help :)