Do we really need to use Dependency Injection Framework?

This page summarizes the projects mentioned and recommended in the original post on /r/androiddev

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Kodein

    Painless Kotlin Dependency Injection

  • 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.

  • koin

    Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform

  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • espresso-kotlin-playground

    Android app that uses the kotlin all open plugin for mocking in espresso tests

  • If you're looking for a simple project that shows all of the code changes converting a MVVM app to Hilt, this commit in repository of mine should show that. I should note that this commit also added mockk and the kotlin open compiler to write a mock espresso test which might show you another benefit to writing a hilt android test.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Kotlin Multiplatform and Swift - Overcoming Interoperability Challenges for Multiplatform Development

    1 project | dev.to | 16 Jul 2023
  • [Typescript] Quelqu'un peut-il suggérer une bibliothèque d'injection de dépendance simple pour TypeScript / JavaScript?

    1 project | /r/enfrancais | 28 Apr 2023
  • Best Practices When Splitting Compose Functions Into Separate Files

    2 projects | /r/androiddev | 21 Mar 2023
  • KVision 6.0.0 is released

    3 projects | dev.to | 31 Dec 2022
  • Compose - NavHost recomposition multiple times

    1 project | /r/androiddev | 1 Apr 2022