- A minimal setup for using
dagger-android
with Kotlin to setup application wide and activity wide dependencies can be found in the master branch. - Check my blog for more details
- See the
withTest
branch - A repo for demo how to mock the dagger-android injection when doing
Espresso
instrumented test
. - Check my blog for more details
If you feel this setup is overwhelming, do check the below one with plain dagger 2, should be much simpler: