https://kotlinlang.org logo
#feed
Title
s

Shreyas Patil

09/14/2022, 7:11 AM
Released Mutekt v1.0.0-alpha03 Added support for updating multiple state fields atomically with Mutekt-generated mutable model. Just use
update{}
on the instance of mutable model. Example:
Copy code
val state = MutableNotesState(...)

state.update {
  isLoading = false
  notes = listOf("Lorem Ipsum")
}
Link: https://github.com/PatilShreyas/mutekt/releases/tag/v1.0.0-alpha03
🦜 1
3 Views