Where to hoist that state in Compose?

Subscribers:
1,370,000
Published on ● Video Link: https://www.youtube.com/watch?v=hWwZ_AuSGfo



Duration: 6:35
10,402 views
185


In this talk, you'll learn how and where to hoist state in Jetpack Compose. When should state be hoisted? Should that be in a composable function, plain state holder class, or in a ViewModel? In this session, we explore the different possibilities using real-world examples.

Resources:
State and Jetpack Compose → https://goo.gle/compose-state-docs
A Compose state of mind → https://goo.gle/compose-state-mind
State holders and state production → https://goo.gle/ui-state-holders-production
UI layer → https://goo.gle/architecture-ui-layer

Speaker: Alejandra Stamato

Watch more:
Watch all the Android Dev Summit sessions → https://goo.gle/ADS-All
Watch all the Modern Android Development sessions → https://goo.gle/ADS-MAD

Subscribe to Android Developers → https://goo.gle/AndroidDevs

#Featured #AndroidDevSummit #JetpackCompose







Tags:
Hoist state
Jetpack Compose
composable function
plain state holder class
ViewModel
real-world examples
Android Dev Summit
Android Developers Summit
Android Dev Summit 2022
ADS
ADS 22
ADS ‘22
ADS 2022
Developers Summit
Dev Summit
Android developer
android developers
android dev
android devs
android announcements
android announcement
app developer
developer
application developer