This video is a segment of a live stream where we power the login screen of the TOA Android application. In this part, we modify our LoginViewState from a data class to a sealed class and discuss why that's helpful. We also look at how we can leverage this to make it easy to generate Jetpack Compose previews for multiple states. Then, we update our previous LoginContent composable to work with our new view state setup.
---
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
Watch video TOA Part 6: Using Sealed Classes For View States online without registration, duration hours minute second in high quality. This video was added by user Adam McNeilly 04 October 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 673 once and liked it 20 people.