How do I initialize Kotlin’s MutableList to empty MutableList?
Seems so simple, but, how do I initialize Kotlin’s MutableList to empty MutableList? I could hack it this way, but I’m sure there is something easier available: var pusta: List<Kolory> = emptyList() var cos: MutableList<Kolory> = pusta.toArrayList() 5 Answers 5