Does anybody has a good blog around in memory (not...
# android
z
Does anybody has a good blog around in memory (not db) state management for list items, add, update, delete) If I want to update an item in the list without mutating the objects. Like I don't want to use
var
Pure Kotlin
😶 1
а
Hey, there is a snippet for my past project, this may be what you’re looking for https://gist.github.com/Adambl4/c26b02d43c0d2413f72f29c7588206c5
👍 1
a
Check out the official Kotlin docs for Coroutines and concurrent modifications to shared state