Skip to content
Search

Android:DependencyInjection

lastmod 2018-08-17created 2014-02-261 edits

In programming with dependency injection (DI), an object does not choose the objects it uses by itself; instead, a third object injects the objects it will use. This process, called inversion of control, does not necessarily require a framework. You can also build and use a factory class that assembles the relationships between objects. A DI framework, however, makes the object assembly process more convenient.

Favorite site

References


  1. Hello_world_»_Android_Dependency_Injection.pdf ↩