Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


Example of Android project showing integration with Kotlin and Dagger 2

Subscribe to updates I use kotlin-dagger-example

Statistics on kotlin-dagger-example

Number of watchers on Github 487
Number of open issues 5
Average time to close an issue 12 days
Main language Kotlin
Average time to merge a PR about 2 months
Open pull requests 5+
Closed pull requests 1+
Last commit almost 2 years ago
Repo Created over 4 years ago
Repo Last Updated over 1 year ago
Size 130 KB
Organization / Authordamianpetla
Page Updated
Do you use kotlin-dagger-example? Leave a review!
View open issues (5)
View kotlin-dagger-example activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating kotlin-dagger-example for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)


This project demonstrate how to setup an Android Project with Kotlin and Dagger 2.

It's based on Dagger 2 example

Known issues/limitations

When lateinit modifier is used, your variable cannot be used in init{} block. It will not compile. So in that case I suggest to move code from that block into a separate function and then call that function from init{} block.

More than Dagger

This sample project includes some more dependencies which are very usefull. It's like a base setup for almost every project using Kotlin. So you will find there Anko libraries. You can uncomment Anko's DSL libraries if you need them. There is also a set of Rx dependencies. Rx works really great with Kotlin. At last but not least there my favourite networking dependencies from Square.

kotlin-dagger-example open pull requests (View All Pulls)
  • Fix a minor grammar mistake
  • SDK/dependencies update
  • Fix broken headings in Markdown files
  • Organising Gradle dependencies
  • just a space
kotlin-dagger-example list of languages used
Other projects in Kotlin