jannis
03/12/2021, 6:13 PMjim
03/12/2021, 6:15 PMFilip Wiesner
03/12/2021, 6:19 PMBenjO
03/12/2021, 7:26 PMBenjO
03/12/2021, 7:38 PMcurioustechizen
03/12/2021, 7:46 PMjim
03/12/2021, 7:50 PMmutableStateOf
? The later allows for more granular updates.BenjO
03/12/2021, 7:57 PMcurioustechizen
03/12/2021, 8:31 PMjim
03/12/2021, 9:11 PMeygraber
03/14/2021, 1:46 AM@Immutable
data class using a Flow
and collectAsState
at the root of the composable.
Then I pass the specific (@Immutable
/ primitive) properties from the data class to each relevant composable.
It seems to be working ok in regards to recomposition, but might there be something I'm missing that can bite me later?eygraber
03/14/2021, 3:54 AM