Course Retired
This course has been replaced by a much more up to date version: Dependency Injection with Dagger 2
About
This course is retired and has been replaced by: this course
In this series you’ll learn how to set up Dagger 2 in your application with multiple modules. We will construct Dagger components, modules, learn how constructor injection works and ways reuse an injection to reduce code. We will perform various injections through the code and learn about the various ways injection occurs in an Android application. Then we’ll dive into Dagger 2 Scopes and how to use them to enable scoping in an application. You’ll also learn how to use Dagger 2 in a testing environment with Mockito and Espresso.
Instructors
Lessons in this course
1. Creating a Component, Wiring up the Application and Injecting an Activity
Pro
07:05
2. Introduction and Building a Dagger Module and the @Singleton Annotation

Pro
09:34
3. Constructor Injection, Named Injections, Multiple Modules and Graph Composition

Pro
14:53
4. Using Multiple Modules

Pro
14:21
5. Testing with Mockito with a TestComponent

Pro
12:45
6. Scopes and Subcomponents

Pro
12:23
7. Managing Scope Lifecycle

Pro
10:46
8. Multibinding Basics with a Set or Map

04:19
9. Multibinding with Various Keys

Pro
04:48
