Explore >> Select a destination


You are here

msfjarvis.dev
| | sookocheff.com
5.7 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:
| | adambennett.dev
2.7 parsecs away

Travel
| | Android Bennett's blog :: android, kotlin, thoughts, opinions, occasional rants
| | www.arunkumar.dev
2.9 parsecs away

Travel
| | Exploring how Dagger can be extended to add project specific dependency graph valditations for even more robust compile time verification.
| | simpleprogrammer.com
74.4 parsecs away

Travel
| What Languages to Learn, How to Structure Code, Algorithms & Data Structures, Methodologies, Source Control, Object Oriented Design, Frameworks or Stack ...