The Fastest Way to Become a Backend Developer Online
Build the Finance Skills That Lead to Promotions — Not Just Certificates
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore an in-depth overview of Dagger 2 for Android development in this 17-minute video tutorial. Learn how to create an AppComponent by extending DaggerApplication and using AndroidInjector. Discover the process of creating modules and adding dependencies using @Provides and @Binds annotations. Master the injection of activities through ActivityBuildersModule and @ContributesAndroidInjector, and understand subcomponents and their dependencies. Dive into advanced topics such as injecting activities into other activities, injecting ViewModels using multibinding, and managing app-level dependencies with SessionManager. Gain insights into custom scopes like @Singleton, @AuthScope, and @MainScope, and understand their impact on memory management. Follow along with practical examples and diagrams to solidify your understanding of Dagger 2 implementation in Android projects.
Syllabus
Introduction
App Component
Extend Dagger Application
Create App Component
Rebuild
Sub Components
Scopes
View Models
App Module
Add Provides
Session Manager
Taught by
CodingWithMitch