/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

voyager.adriel.cafe
| | adambennett.dev

Android Bennett's blog :: android, kotlin, thoughts, opinions, occasional rants
2.8 parsecs

Travel
| |
| | 0xzhangke.github.io


1.1 parsecs

Travel
| |
| | android-developers.googleblog.com

News and insights on the Android platform, developer tools, and events.
2.2 parsecs

Travel
| |
| | sookocheff.com

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:
15.6 parsecs

Travel
|