Dagger Hilt - Testing Using Hilt in Android!
📩 Sign up for my new newsletter here 👉 https://bit.ly/YCNewsletter102 Join my Community on Discord: https://discord.gg/nKgZd6E3Db In this video, we will learn how to specify test modules to inject fake objects using @TestInstallIn with Hilt in Android. Hilt is a new dependency injection tool built on top of dagger2 for android. 🔗 Links: - Android Documentation - https://developer.android.com/training/dependency-injection - Hilt Documentation - https://dagger.dev/hilt/ - Codelab - https://developer.android.com/codelabs/android-hilt#0 ⏰ Chapters: 0:00 - Intro 1:20 - Dependencies & Test Application 4:10 - Create a Fake Module 5:35 - Create a Fake Object 6:12 - Create Hilt Test 👨🏽🏭 Who I am: I'm Younes Charfaoui, a Junior Software Engineer and an Android Developer. I make videos about Android development, Technology, and Productivity for software engineers. 😋 Be My Friend: 💻 GitHub - https://github.com/Younes-Charfaoui/ 🐦 Twitter - https://twitter.com/CharfaouiYounes 📑 Medium - https://medium.com/@mxcsyounes 📷 Instagram - https://www.instagram.com/charfaoui.younes/ 🌍 My website - https://www.charfaouiyounes.com
Download
0 formatsNo download links available.