Android Dependency Injection with Hilt
In this course, learn how to perform Dependency Injection using Hilt for Android. Starting from a blank slate we'll build a water tracking application, configuring Hilt to inject dependencies into various Android classes.
Course Objectives
In this master codelab, you’ll explore:
-
Learn how to inject dependencies into various Android classes (activities, fragments)
-
Learn how to declare and scope dependencies in Hilt Modules
-
Learn how to configure Jetpack dependency injections (viewmodel, workmanager etc)
-
Learn how to work with Hilt in UI tests
-
Learn how to migrate to Hilt from an existing project that uses Vanilla Dagger
More courses by the instructor