Check out example codes for "how to initialize mutable list kotlin". It will help you in understanding the concepts better.

Code Example 1

val mutableList : MutableList<Kolory> = ArrayList()

Code Example 2

val mutableList = mutableListOf<Kolory>()

Code Example 3

val mutableList : MutableList<Kolory> = arrayListOf()

Learn ReactJs, React Native from akashmittal.com