WHAT IS DEPENDENCY INJECTION? DO YOU USE ANY DI LIBRARY IN
YOUR PROJECT? CAN YOU NAME A FEW OF THEM, AND WHY ONE IS BETTER THAN
|Institute||Ahsanullah Institute of Information and Communication Technology 2012|
Dependency Injection is a design pattern to implement inversion of control, and to resolve dependencies. Dependency Injection (DI) eliminates boilerplate code (for example, by removing listener) and provides a much cleaner and effective code. There are a few DI libraries used in Android development:
ButterKnife and Dagger do not use reflection, but rather compile time annotations. They are therefore faster to develop with.