Skip to content
An example of the most basic setup using dagger-android in Kotlin
Kotlin Java
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Kotling dagger-android example

Since dagger-android is fairly new, every article on the Internet shows the "old" (i.e. using just vanilla dagger and dagger-compiler) setup, which leads to a lot of boilerplate code.

While for seasoned veterans it may be simple, I thought that especially for less experienced developers a fully working example could be useful.

This is an example of the most basic setup using dagger-android in Kotlin.

You can’t perform that action at this time.