Android Dependency Injection using Dagger with Kotlin
Created by Mahmoud Ramadan, Last Updated 06-Nov-2019, Language:English
Android Dependency Injection using Dagger with Kotlin
Learn how to use Dagger Dependency Injection framework with Kotlin , MVVM , Android Architecture Components and RxJava
Created by Mahmoud Ramadan, Last Updated 06-Nov-2019, Language:English
What Will I Get ?
- Learn how to use Dagger 2 as Dependency Injection
- Build Real App using Dagger , MVVM , Android Architecture Components and RxJava
- Understanding The concept of Dependency Injection
- Learn how to use component ,subcomponent, scopes
- Learn how to use Constructor,Field and Method Injections
- Learn how to use Multibinding for Android View Model
Requirements
- You should have basics of kotlin language
- You should have experience in Android Development
Description
Hi everyone and welcome to my new course
Android Dependency Injection using Dagger 2 with Kotlin
This course is designed for an Android Developer who has no background for using Dagger 2 for Dependency injection. Dagger is one of the most popular frameworks for Dependency injection in Android Development. It is developed by Google as a forked project from Dagger 1 which is developed by Square. Dagger 2 is one of the skills that you should have for your career as Android Developer because a lot of companies use it nowadays because it is fast, reliable and it makes the code more testable and clean because of separation of concerns.
After this course, you will be able to Understand the following -
What is Dependency Injection(DI)
Why we need DI
Introduction to Dagger 2 library
Understanding the types of DI
Understanding Dagger Component
Understanding Field Injection
Understanding Method Injection
Understanding Dagger 2 Module
Understanding Scopes and SubComponent
Understanding Dagger Multibindings for Android View Model
Build a real Android App using Dagger2, RxJava, MVVM, Retrofit and Android Architecture components with Kotlin.
Course Content
-
Dagger 2 Foundation
12 Lectures 01:01:30-
Introduction to Dependency Injection
Preview00:04:31 -
Source Code
-
Simple DI Example without Dagger
Preview00:06:52 -
Add Dagger Dependencies to Android Project
Preview00:06:18 -
Understanding Generation Code for Component
Preview00:04:07 -
Dagger Field Injection
00:07:23 -
Dagger Method Injection
00:04:52 -
Introduction to Dagger Module
00:04:38 -
Code Generation for Dagger Module
00:02:13 -
Dagger Module Part 2
00:07:12 -
Introduction to Dagger Scope
00:10:32 -
Create Custom Dagger Scope
00:02:52
-
-
Build Real Android App Using Dagger , RxJava ,MVVM and Kotlin
6 Lectures 00:32:18-
Course Project Overview
00:03:20 -
Show App Component
00:08:28 -
Show Pokemon usecase and Repository
00:02:32 -
Show Pokemon List Subcomponent
00:06:40 -
Shoe Pokemon View Model Factory
00:07:17 -
Show Pokemon Details Subcomponent
00:04:01
-