Introduction to Dagger 2, Using Dependency Injection in Android: Part 2
Janishar Ali

Great article for beginners.

I just can’t understand the PerActivity scope part of it. The scope is defined by the user and it is not specially defined in Dagger2. So who is telling Dagger2 to provide each activity with its own separate dependencies?

Show your support

Clapping shows how much you appreciated Amanshu Raikwar’s story.