Colton Idle
05/16/2021, 10:00 PMmutableStateOf(listOf(T))
or mutableStateListOf(T)
and so I'm going over the state codelab to try and learn.
Compose codelab uses mutableStateOf(listOf(T))
but it has a TODO for switching over to mutableStateListOf(T)
but the switch wasn't made because of a bug that has since been fixed.
If it's recommended to actually go with mutableStateListOf, can the codelab be updated as per the TODO? https://github.com/googlecodelabs/android-compose-codelabs/blob/main/StateCodelab/[…]finished/src/main/java/com/codelabs/state/todo/TodoViewModel.kt