13

TOA 9: Adding Hilt To Jetpack Compose Applications

 3 years ago
source link: https://www.youtube.com/watch?v=dvOZep2hCqU
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

TOA 9: Adding Hilt To Jetpack Compose Applications

128 views • Oct 15, 2021 • 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: https://twitch.tv/adammc331 Star the repository on GitHub: https://github.com/adammc331/toa

Follow me on Twitter for more updates: https://twitter.com/adammc331 --- Introduction: 0:00 Hilt Setup: 11:00 Creating Dependencies: 17:00 Displaying LoginScreen From MainActivity: 46:30


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK