What are people doing to synchronize an arraylist with Kotlin?
l
louiscad
11/02/2018, 3:26 PM
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