Imagine no dependency rules, memory leaks, static singletons, circular dependencies, View opening database, or clearing singletons in tests. Dagger 2 solved such problems gracefully for many projects and is a standard by now. Let’s see the way there and what we can learn from it. — While recently trying new solutions for a problem, tweaking dependencies all the time and testing each solution immediately, I realised: It is actually Dagger 2 what makes this so easy. …