Kotlin Dependency Injection

Open-source Kotlin projects categorized as Dependency Injection | Edit details

Top 15 Kotlin Dependency Injection Projects

  • GitHub repo koin

    Koin - a pragmatic lightweight dependency injection framework for Kotlin

    Project mention: Do we really need to use Dependency Injection Framework? | reddit.com/r/androiddev | 2021-11-14

    Now I will finish up saying Hilt is just an opinionated way to dependency injection on Android, but there are simpler frameworks out there such as Koin or Kodein that can help take away a lot of the troubles that can come when you try to make your own framework. Just know that most other frameworks tend to be runtime injection instead of compile time injection like Hilt, which can be helpful to know at compile time if you are missing a dependency in your graph as opposed to runtime when its out in the wild.

  • GitHub repo Kodein

    Painless Kotlin Dependency Injection

    Project mention: Do we really need to use Dependency Injection Framework? | reddit.com/r/androiddev | 2021-11-14

    Now I will finish up saying Hilt is just an opinionated way to dependency injection on Android, but there are simpler frameworks out there such as Koin or Kodein that can help take away a lot of the troubles that can come when you try to make your own framework. Just know that most other frameworks tend to be runtime injection instead of compile time injection like Hilt, which can be helpful to know at compile time if you are missing a dependency in your graph as opposed to runtime when its out in the wild.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo NotyKT 🖊️

    📒 NotyKT is a complete 💎Kotlin-stack (Backend + Android) 📱 application built to demonstrate the use of Modern development tools with best practices implementation🦸.

    Project mention: Observing Live connectivity status in Jetpack Compose way! | reddit.com/r/androiddev | 2021-08-17

    On a side note, I found the initial network check code a bit complex (and it contains a subtle bug), here's a PR for it https://github.com/PatilShreyas/NotyKT/pull/211

  • GitHub repo ActivityStarter

    Simple Android Library, that provides easy way to start the Activities with arguments.

  • GitHub repo kotlin-inject

    Dependency injection lib for kotlin

    Project mention: Yet another DI for kotlin multiplatform | reddit.com/r/androiddev | 2021-10-07

    I'd say it's second after this one. That one has multiplatform support in snapshot version, while mine is in alpha)

  • GitHub repo AvengersChat

    💙 Android sample Avengers chat application using Stream Chat SDK based on MVVM (ViewModel, Coroutines, Room, Hilt, Repository) architecture.

    Project mention: Android Avengers chat demo project using Stream Chat SDK based on MVVM architecture. (ViewModel, Hilt, Coroutines, Room, Repository) | reddit.com/r/androiddev | 2021-10-22

    Hi everyone! Here is the open-source repository: https://github.com/skydoves/AvengersChat

  • GitHub repo Katana

    Lightweight, minimalistic dependency injection library for Kotlin & Android

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo kapsule

    Minimalist dependency injection library for Kotlin.

  • GitHub repo PopKorn

    DI can be simple. Forget about modules and components. Just use it!

  • GitHub repo injekt

    Next gen DI framework powered by a Kotlin compiler plugin [WIP] (by IVIanuu)

    Project mention: Here is an article about my DI library for Kotlin Mutliplatform | reddit.com/r/androiddev | 2021-11-19

    Similar effort that's a bit more fleshed out: https://github.com/IVIanuu/injekt

  • GitHub repo kotlin-guice

    Guice DSL extensions for Kotlin

  • GitHub repo FlairFramework

    This is powerful android framework (by Rasalexman)

  • GitHub repo kotlin-guiced

    Convenience Kotlin API over the Google Guice DI Library

  • GitHub repo kodeinject

    :gear: Constructor dependency injection for Kodein.

  • GitHub repo KODI

    light-weight KOtlin Dependency Injection (KODI)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-11-19.

Kotlin Dependency Injection related posts

Index

What are some of the best open-source Dependency Injection projects in Kotlin? This list will help you:

Project Stars
1 koin 7,195
2 Kodein 2,699
3 NotyKT 🖊️ 1,063
4 ActivityStarter 424
5 kotlin-inject 378
6 AvengersChat 251
7 Katana 182
8 kapsule 165
9 PopKorn 125
10 injekt 82
11 kotlin-guice 58
12 FlairFramework 31
13 kotlin-guiced 16
14 kodeinject 15
15 KODI 11
Find remote jobs at our new job board 99remotejobs.com. There are 28 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
scoutapm.com