7 steps to implement Dagger 2 in Android

7 steps to implement Dagger 2 in Android

7 years ago
Anonymous $L9wC17otzH

https://android.jlelse.eu/7-steps-to-implement-dagger-2-in-android-dabc16715a3a

So I finally got a chance to explore the new Dagger 2 in a project recently. And while there are a lot of resources online about what is Dagger and why dagger 2 is necessary and how to implement Dagger 2, I found that there was a steep learning curve to it. While I understood why dagger 2 is not only necessary but a must in some cases, I found practical implementation difficult. So I thought I would write about the 7 basic steps to implement Dagger 2 in an Android app.

I chose to build a simple movies app to test the dagger implementation. This is the app.

7 steps to implement Dagger 2 in Android

Dec 23, 2018, 6:15pm UTC
https://android.jlelse.eu/7-steps-to-implement-dagger-2-in-android-dabc16715a3a > So I finally got a chance to explore the new Dagger 2 in a project recently. And while there are a lot of resources online about what is Dagger and why dagger 2 is necessary and how to implement Dagger 2, I found that there was a steep learning curve to it. While I understood why dagger 2 is not only necessary but a must in some cases, I found practical implementation difficult. So I thought I would write about the 7 basic steps to implement Dagger 2 in an Android app. > I chose to build a simple movies app to test the dagger implementation. This is the app.