Dependency injection topic

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

List Dependency injection repositories

MyWeather

41
Stars
12
Forks
Watchers

App displays real-time weather updates for user's location and for other locations set by user. App uses MVVM with Repository pattern, dagger dependency injection, NetworkBoundResource, Navigation com...

Covid19-Notifier-IN

150
Stars
29
Forks
Watchers

A sample Android App which notifies about COVID19 cases in 🇮🇳India after every 1 hour.

android-mvvm-rxjava2-dagger2

64
Stars
16
Forks
Watchers

This repository contains a detailed sample application that uses MVVM as its presentation layer pattern. Essential dependencies are Dagger2 with Dagger-android, RxJava2 with RxAndroid, Room, Retrofit...

graphql-modules

1.3k
Stars
113
Forks
Watchers

Enterprise Grade Tooling For Your GraphQL Server

fastapi-class

104
Stars
14
Forks
Watchers

provides a class-based View decorator to help reduce the amount of boilerplate necessary when developing related routes. ✨🚀

Device.Net

600
Stars
118
Forks
Watchers

A C# cross platform connected device framework

MarvelHeroes

1.2k
Stars
165
Forks
Watchers

❤️ A sample Marvel heroes application based on MVVM (ViewModel, Coroutines, Room, Repository, Koin) architecture.

Dagger2-MVP-Sample

108
Stars
34
Forks
Watchers

Android Sample to explain Dagger 2 and MVP in android applications.

Kata-Dagger2-Android

20
Stars
3
Forks
Watchers

Kata to practice Dependency injection using Dagger 2.

stashbox

134
Stars
10
Forks
Watchers

A lightweight, fast, and portable dependency injection framework for .NET-based solutions.