Dependency Injection with Dagger 2培训
Introduction
Dagger 2 Overview
What is Dagger 2?
Dagger 2 features
Dependency Injection at a Glance
Dependency injection techniques
Architectural pattern
Preparing the Development Environment
Setting up Dagger 2
Dependency Injection Quick Start
Building a project
Decoupling logic
Sharing an instance
Preventing injections
Dagger 2
Adding Dagger dependency
Creating an application scope
Using components
Working with multibindings
Testing the Application
Testing with unit tests, mock tests, and repo unit tests
Debugging the Application
Handling errors
Deploying the Application
Running an emulated Android device
Securing the Application
Hiding data and hardening the application
Troubleshooting
Summary and Conclusion