Aug 8, 2022
Hello Richard,
Thanks for the feedback. You were right, I forgot to declare the immutable type when declaring the getter property: val itemsState: StateFlow<ItemsState> = _itemsState.
However, it's a nice tips you provided to explicitly use asStateFlow extension to prevent the mutable backing property.
I updated my post. Thank you.