MBegemot
05/12/2020, 12:01 PMAdam Powell
05/12/2020, 12:45 PMstate but not the state itself. The code above is roughly equivalent to var list = mutableListOf(...) but compose only knows when you change the var, not its contents.Adam Powell
05/12/2020, 12:46 PMremember { modelListOf(...) } Or use read-only or immutable lists as the value of the StateAdam Powell
05/12/2020, 12:47 PMAdam Powell
05/12/2020, 12:48 PMmodelListOf will give you a mutable list where compose is tracking its content changesMBegemot
05/12/2020, 1:19 PM