In this live stream, we wrap up the work for our login screen by talking about Hilt and how it sets up our core dependency injection for the application. We use this to create the dependencies required by our ViewModel, and then to create the ViewModel itself when needed.
Once we have that setup, we use it to display our ViewModel inside the MainActivity, so that we can begin manual testing of our login screen.
---
Watch the development of TOA live on Twitch: / adammc331
Star the repository on GitHub: https://github.com/adammc331/toa
Follow me on Twitter for more updates: / adammc331
---
Introduction: 0:00
Hilt Setup: 11:00
Creating Dependencies: 17:00
Displaying LoginScreen From MainActivity: 46:30
Смотрите видео TOA 9: Adding Hilt To Jetpack Compose Applications онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Adam McNeilly 15 Октябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 1,750 раз и оно понравилось 41 людям.