halirutan01/13/2022, 1:44 AM
coroutine scope. Now, since I'm a compose noob, I have a mutable state list, where I append the datapoints. I rarely get a
exception which I guess is because the list is modified in the IO scope and read in the UI by compose. I read that one solution is to basically use a mutable state of an immutable list and assign a new list. That sounds a lot like I don't want to do this. Isn't there a better way to have a long list of datapoints that I can update from the IO thread?
Kirill Grouchnikov01/13/2022, 2:14 AM
halirutan01/13/2022, 2:25 AM
the answer might not be applicable for desktop. That's why I asked here.
Michael Paus01/13/2022, 10:58 AM
mcpiroman01/13/2022, 11:29 AM
from the library above
halirutan01/13/2022, 2:59 PM