У нас вы можете посмотреть бесплатно Dagger 2 Android Overview или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
This video is an overview of everything we covered in the dagger 2 android course. I'm going to quickly review the following topics: 1) Creating an AppComponent extending DaggerApplication AndroidInjector 2) Creating modules and adding dependencies to modules @Provides Retrofit instance and other objects @Binds instead of provides (can use if no method body) 3) Injecting Activities ActivityBuildersModule and @ContributesAndroidInjector Subcomponents dependencies within subcomponents (passing as module to @ContributesAndroidInjector) 4) Injecting activities into activities (drawable in authactivity) 5) Injectin ViewModels this is pretty complicated because we have to use multibinding. I suggest rewatching the video: https://codingwithmitch.com/courses/d... 6) Injecting dependencies into ViewModels 7) Creating the SessionManager as an app-level dependency leveraging the SessionManager in ViewModels leveraging the SessionManager in a BaseActivity 8) Custom Scopes (@Singleton, @AuthScope, @MainScope) review the diagram and show scopes review the different memory addresses and @Named annotation ➤ Watch the dagger course free: ↻ https://codingwithmitch.com/courses/d...