julioromano
10/06/2021, 3:14 PMjulioromano
10/06/2021, 3:16 PMZach Klippenstein (he/him) [MOD]
10/06/2021, 3:18 PMSnapshot.withMutableSnapshot
Zach Klippenstein (he/him) [MOD]
10/06/2021, 3:20 PMRick Regan
10/06/2021, 6:05 PMZach Klippenstein (he/him) [MOD]
10/06/2021, 6:34 PMRick Regan
10/06/2021, 6:44 PMCasey Brooks
10/06/2021, 7:02 PMRick Regan
10/06/2021, 7:18 PMjulioromano
10/06/2021, 7:29 PMCasey Brooks
10/06/2021, 7:37 PMCasey Brooks
10/06/2021, 7:39 PMmutableStateOf
is moving into the Compose/Snapshot realm where things are much muddier and potentially multithreaded. However, that muddiness kinda goes away because you can trust that Compose is just going to do the right thing for you in that world, and you generally shouldn't have to think much harder about thatjulioromano
10/06/2021, 8:03 PMvar xyz by remember { mutableStateOf(123) }
from within a callback on the UI thread it will be atomic.Rick Regan
10/06/2021, 8:06 PMjulioromano
10/06/2021, 8:07 PMAdam Powell
10/07/2021, 1:28 PMAdam Powell
10/07/2021, 1:29 PM