In the lesson, you will learn how Dagger helps to organize the architecture based on plugins and how to collect dependencies of the same type in a Set or Map.
💰 Support the project on Boosty bit.ly/3sratqQ or Patreon / android_broadcast
🔗 Telegram channel "Android Broadcast" ttttt.me/android_broadcast
🔗 Dagger Documentation dagger.dev/dev-guide/
🔗 Dagger Multibindings dagger.dev/dev-guide/multibin...
📺 Course on Dagger 2 clck.ru/VtY7d
🔗 Code from the video clck.ru/WaiXj
🔗 Combining the creation of Fragment through one factory clck.ru/WahLM
Video made with the support of Kaspersky Lab
#AndroidBroadcast # DaggerCourse # Dagger2 #DI #DependncyInjection #Hilt #DaggerHilt #KirillRozov #RozovKirill #mutibinding #component #subcomponent
0:00 Intro
1:05 Set Multibinding sample
5:46 ElementsIntoSet
6:49 Annotation Multibinds
8:00 Map Multibinding
8:45 Map Multibinding sample
12:58 Annotations array
13:28 ElementsIntoMap
13:57 Inherited Subcomponent multibindings
16:00 Accessing multibinding from Components
16:25 Outro
25 июн 2024