Is there a way to update a property item(data clas...
# compose
a
Is there a way to update a property item(data class) inside a
mutableStateListOf
without creating a new list then assign it to the original
mutableStateListOf
?
z
Hope this work stateList[index] = stateList [index].copy(x=y)
a
Yah that's work perfectly, Thanks man
z
In general, `SnapshotStateList`s can be modified in-place without having to create a new list - that’s their whole reason for existing.
108 Views