Jhonatan Sabadi
04/20/2022, 12:56 PMdata class
, and i created a mutableStateOf<MyClass>().
What is the best way to update this data class with mutable state on ViewModel?
• Set value directly: myClass.property = "value"
• Or use copy function: myClass.copy(property = "value")
myanmarking
04/20/2022, 4:27 PMmyanmarking
04/20/2022, 4:27 PMJhonatan Sabadi
04/20/2022, 4:42 PM