What are people doing to synchronize an arraylist ...
# android
d
What are people doing to synchronize an arraylist with Kotlin?
l
People are avoiding shared mutable state more and more in Kotlin.
val
, non mutable lists and coroutines help in this regard. If you really need this, you can still synchronize access at a higher level if it makes sense, or use
Vector
from the JDK
👍 5