elye
01/04/2023, 1:05 PMZach Klippenstein (he/him) [MOD]
01/04/2023, 9:33 PMmutableStateListOf
if you are going to be modifying the list directly. If the source of truth of the list is your view model, then the state list should live in the view model, where it can be modified directly.
Whether your view model uses a mutable state list or an immutable list exposed via a flow or mutable state, it doesn’t really matter.