dagger-android
with Kotlin to setup application wide and activity wide dependencies can be found in the master branch.withTest
branchEspresso
instrumented test
.If you feel this setup is overwhelming, do check the below one with plain dagger 2, should be much simpler: