Henrik01/24/2020, 7:32 AM
Olenyov Kirill01/24/2020, 8:46 AM
Piasy01/24/2020, 8:47 AM
, and call
when you want to update it.
Olenyov Kirill01/24/2020, 8:57 AM
Piasy01/24/2020, 9:02 AM
Henrik01/24/2020, 9:03 AM
Piasy01/24/2020, 9:04 AM
can only be accessed in Kotlin Native.
Henrik01/24/2020, 9:05 AM
, even if I only use it in iOS-specific code and build for IosX64:
Unresolved reference: AtomicReference
val testRef = AtomicReference(someData)
Piasy01/24/2020, 10:10 AM
Henrik01/24/2020, 10:16 AM
That seems to do the trick, thank you again!
kpgalligan01/24/2020, 12:43 PM
Henrik01/24/2020, 12:47 PM
but I don't think it is the right fit in this context
kpgalligan01/24/2020, 12:50 PM
Henrik01/24/2020, 2:09 PM
is used as a private variable inside a frozen class, will it then be frozen too, so that I cannot update it using