Skip to content

A minimal setup for using dagger-android with Kotlin to setup application wide and activity wide dependencies.

Notifications You must be signed in to change notification settings

Albert-Gao/DaggerAndroidKotlinExample

Repository files navigation

DaggerAndroidKotlinExample

About this repo

  • 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

How to test

  • 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

A good start

If you feel this setup is overwhelming, do check the below one with plain dagger 2, should be much simpler:

About

A minimal setup for using dagger-android with Kotlin to setup application wide and activity wide dependencies.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages