Explore >> Select a destination


You are here

ryanharter.com
| | dagger.dev
2.4 parsecs away

Travel
| | Dagger is a fully static, compile-time dependency injection framework for both Java and Android.
| | msfjarvis.dev
2.7 parsecs away

Travel
| | Lets extend the scope of these tutorials :)
| | sookocheff.com
3.2 parsecs away

Travel
| | Inversion of Control (IoC), also known as Dependency Injection (DI), allows an object to define their dependencies as constructor arguments (strictly speaking, you can set these dependencies as properties, but the examples I will use today are constructor-based). This is the inverse of the object itself controlling the instantiation or location of its dependencies, hence the name Inversion of Control. Let's look at an example from Stackoverflow using a text editor with a spell checking component:
| | zserge.com
27.9 parsecs away

Travel
| from mavenCentral to jcenter to jitpack.io