Thomas
State<List<T>>
SnapshotStateList<T>
val a: State<List<T>> = viewModel.collectAsStateWithLifecycle(initialValue = emptyList()) val b: SnapshotStateList<T> by remember{ derivedStateOf { mutableStateListOf<T>().apply { addAll(a.value) } } }
A modern programming language that makes developers happier.