Dagger Hilt: Deep Dive / No more Koin
Android Broadcast. Все об Андроид разработке
#AndroidBroadcast #Dagger #Android11
Talk about Dagger Hilt with Manuel Vivo, Android Developer Relations Engineer at Google
Manuel is a Developer Relations Engineer at Google. With previous experience at Capital One, he currently focuses on App Architecture, Kotlin & Coroutines, Dependency Injection and Jetpack Compose.
Useful links: 📰 Telegram Channel with the latest news for Android Developers (RU) https://ttttt.me/android_broadcast 💰 Support Android Broadcast on Boosty https://boosty.to/androidbroadcast or Patreon https://bit.ly/2TBOzlu 🔗 Manuel Vivo Twitter https://twitter.com/manuelvicnt 🔗 Dagger Hilt https://dagger.dev/hilt/ 🔗 Dependency injection in Android https://developer.android.com/training/dependency-injection 🔗 Hilt Android Docs https://d.android.com/hilt 🔗 Hilt Github repo https://github.com/google/dagger 🔗 Kotlin Symbol Processing API https://github.com/android/kotlin/tree/ksp/libraries/tools/kotlin-symbol-processing-api 🔗 Assisted Injection for Dagger - https://github.com/square/AssistedInject
Samples: 🔗 Google IO App с Hilt https://github.com/google/iosched 🔗 Architecture Samples (dev-hilt branch) https://github.com/android/architecture-samples/tree/dev-hilt 🔗 Tivi App https://github.com/chrisbanes/tivi
0:00 Intro 4:38 DI Recap 15:30 Hilt Intro 30:50 What does Hilt generate: subcomponents or dependent components? 33:46 Hilt & Dynamic Feature Module limitations 38:11 Hilt AndroidX Extentions 41:38 Testing with Hilt 46:15 Migration 47:06 Hilt. What's next? 49:30 Questions 50:18 Blockers for Hilt stable release 52:20 Performance impact 54:28 Kotlin Symbol Proccesing (KSP) in Dagger 56:34 Why does Hilt need Gradle plugin 58:03 Incremental build 58:20 Migration from other DIs 59:50 Why Dagger + Hilt is better for Android? 1:01:32 Fragment/Activity Retained Component 1:03:31 Square Anvil vs Dagger Hilt 1:05:30 Scalability of Hilt for big projects 1:06:42 Injection in Fragment constructors 1:08:24 Will Hilt remove lateinit properties? 1:10:16 Use Kotlin to simplify module declaration (top level functions) 1:12:25 Hilt and Binds 1:13:58 Hilt effect on multimodule projects 1:16:30 Hilt best practices for multimodule projects 1:17:33 Dagger 3.0: Pure Kotlin & multiplatform 1:19:33 Assisted injection in Dagger 1:22:19 Simplifying Dagger Multibinding 1:26:27 Summary 1:28:51 Outro ... https://www.youtube.com/watch?v=4di2TTqeCrE
464006142 Bytes