jkm
08/27/2021, 2:01 AMdata class Model( var one: Boolean, var two: Boolean, //etc)
do I:
A. declare each of the checkboxes states ? i.e. var someState by remember { mutableStateOf(myModel.one) }
B. declare the state of the collection of checkboxes as var someState by remember { mutableStateOf(myModel) }
I would like to do B, but I’m struggling with the state change callbacks, I’m thinking I might have to do AWill Shelor
08/27/2021, 2:30 AMjkm
08/27/2021, 2:42 AMState<T>.someProperty
wouldn’t trigger a recomposition