gmazzo
02/20/2020, 8:47 PMMutableMap
, so:
For JVM: I use the ConcurrentHashMap
class
For Web: I use just a mutableMapOf
But for Native, I have to freeze()
the singleton to avoid the IncorrectDereferenceException
. So, if the whole graph is frozen, I don’t know how to have a MutableMap
inside it.
Any tips?Arkadii Ivanov
02/20/2020, 10:52 PMArkadii Ivanov
02/20/2020, 10:53 PMArkadii Ivanov
02/20/2020, 10:55 PMkpgalligan
02/20/2020, 11:37 PMkpgalligan
02/20/2020, 11:38 PMgmazzo
02/21/2020, 9:30 AMgmazzo
02/21/2020, 9:40 AMfrozenHashMap
💪gmazzo
02/21/2020, 10:03 AMjs
target for that platform? It’s failing to resolve for that target :(Arkadii Ivanov
02/21/2020, 2:20 PMstately-collections
kpgalligan
02/21/2020, 2:45 PMgmazzo
02/21/2020, 3:19 PMrusshwolf
02/21/2020, 3:22 PMkpgalligan
02/21/2020, 3:51 PMkpgalligan
02/21/2020, 6:01 PM