Anyone have guides to writing moderate - complex p...
# compose
a
Anyone have guides to writing moderate - complex plain java state holders? I have read the docs on Google’s website (App Architecture / UI layer / Stateholder and UI state, UI Architecture / Managing State/ Where to hoist state, Compose framework guidelines) and still struggle with it.
It’s easy writing stateless composables … and easy pushing state into a viewmodel, but where significant state exists between the Composables and ViewModel have me kinda less sure of things. Reading Compose stateholders like
LazyGridState
, I don’t think I could create this from scratch.
a
https://developer.android.com/develop/ui/compose/api-guidelines are a great resource if you haven’t seen them already (not sure if those were included in your initial list). Simona’s presentations in this area are superb, the Droidcon London version goes into even more detail than the

I/O talk

linked at that page
a
Thank’s Alex, indeed Simona’s video was very good.