Uploaded March 2022 | Updated November 2026, 3 hours ago
Learn Android MVVM architecture with Dagger 2 Dependency Injection Framework. In this video, learn about Multibinding in Dagger2. Learn how to use @IntoMap annotation, @StringKey annotation and @ClassKey annotation in Dagger2 with Android MVVM architecture.
ViewModels need ViewModel Factory class to work with ViewModelProvider. To have generalized factory i.e. single factory that can create multiple viewmodel objects can be achieved using Dagger 2 Multibinding feature. Using this, you can produce a map that can help you create different objects based on the key.
@IntoMap defines a map wherein you define the keys using annotations and use that map to produce viewmodels at runtime. Learn how to use Dagger2 while implementing MVVM architecture in Android. Learn all about this in Hindi with simple examples.
Topics covered -
1. ViewModel, ViewModelFactory with Dagger2.
2. What is Dagger2 Multibinding?
3. What is @IntoMap in Dagger2, Use of Multibinding with Example.
4. Generalised ViewModelFactory class.
5. Complete Example of Android MVVM Dagger 2 with Multibinding.
Complete Dependency Injection Playlist Link -
youtube.com/playlist?list=PLRKyZvuMYSIPwjYw1bt_7u7nEwe6vATQd
Complete Android Architecture Components Playlist -
youtube.com/playlist?list=PLRKyZvuMYSIO0jLgj8g6sADnD0IBaWaw2
Beginner series in Android Playlist (Hindi) -
youtube.com/playlist?list=PLRKyZvuMYSIN9sVZTfDm4CTdTAzDQyLJU
Kotlin Beginners Tutorial Series -
youtube.com/playlist?list=PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G
For more info - visit the below link
cheezycode.com
Source Code -
github.com/CheezyCode/DaggerMVVM
We are social. Follow us at -
Facebook - facebook.com/cheezycode
Twitter - twitter.com/cheezycode
Instagram - instagram.com/cheezycode
Learn Android MVVM architecture with Dagger 2 Dependency Injection Framework. In this video, learn about Multibinding in Dagger2. Learn how to use @IntoMap annotation, @StringKey annotation and @ClassKey annotation in Dagger2 with Android MVVM architecture.
ViewModels need ViewModel Factory class to work with ViewModelProvider. To have generalized factory i.e. single factory that can create multiple viewmodel objects can be achieved using Dagger 2 Multibinding feature. Using this, you can produce a map that can help you create different objects based on the key.
@IntoMap defines a map wherein you define the keys using annotations and use that map to produce viewmodels at runtime. Learn how to use Dagger2 while implementing MVVM architecture in Android. Learn all about this in Hindi with simple examples.
Topics covered -
1. ViewModel, ViewModelFactory with Dagger2.
2. What is Dagger2 Multibinding?
3. What is @IntoMap in Dagger2, Use of Multibinding with Example.
4. Generalised ViewModelFactory class.
5. Complete Example of Android MVVM Dagger 2 with Multibinding.
Complete Dependency Injection Playlist Link -
youtube.com/playlist?list=PLRKyZvuMYSIPwjYw1bt_7u7nEwe6vATQd
Complete Android Architecture Components Playlist -
youtube.com/playlist?list=PLRKyZvuMYSIO0jLgj8g6sADnD0IBaWaw2
Beginner series in Android Playlist (Hindi) -
youtube.com/playlist?list=PLRKyZvuMYSIN9sVZTfDm4CTdTAzDQyLJU
Kotlin Beginners Tutorial Series -
youtube.com/playlist?list=PLRKyZvuMYSIMW3-rSOGCkPlO1z_IYJy3G
For more info - visit the below link
cheezycode.com
Source Code -
github.com/CheezyCode/DaggerMVVM
We are social. Follow us at -
Facebook - facebook.com/cheezycode
Twitter - twitter.com/cheezycode
Instagram - instagram.com/cheezycode










