Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Dagger 2 Android Overview - Course Review and Key Concepts

CodingWithMitch via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

Start your review of Dagger 2 Android Overview - Course Review and Key Concepts

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.