Dagger Android — Behind the Scenes
Understanding Dagger 2 itself is already a challenge for many. With Dagger Android, it becomes even more confusing with how things works. So I took the time to dissect and demystify it.
The very basics of Dagger 2
Let’s start with most basic. Dependency Injection is a way to inject Dependency into a class object, in our case MainActivity.