Thanks to visit codestin.com
Credit goes to github.com

Skip to content
#

Dependency injection

Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency’s implementation from the class that’s using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn’t need to care which of the implementations is used. This is also especially useful for unit testing.

There are different types of dependency injection:

  • constructor injection
  • setter injection
  • interface injection
  • Here are 1,032 public repositories matching this topic...

    NotyKT

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

    • Updated Oct 22, 2025
    • Kotlin

    An Android weather application implemented using the MVVM pattern, Retrofit2, Dagger Hilt, LiveData, ViewModel, Coroutines, Room, Navigation Components, Data Binding and some other libraries from the Android Jetpack.

    • Updated Jun 4, 2024
    • Kotlin

    An simple image gallery app utilizing Unsplash API to showcase modern Android development architecture (MVVM + Kotlin + Retrofit2 + Hilt + Coroutines + Kotlin Flow + mockK + Espresso + Junit)

    • Updated Jan 23, 2023
    • Kotlin

    Android Architecture Design Patterns using Kotlin, MVVM, Hilt, LiveData, Room, MediatorLiveData, NetworkBoundResources, Retrofit, AndroidX, ViewModels, Dependency Injection using Dagger2, Repository pattern.

    • Updated Oct 4, 2024
    • Kotlin