how to cast array to arraylist in kotlin code example
Example: kotlin convert array to arrayList
arrayOf("your string","your string 2").toCollection(ArrayList())
arrayOf("your string","your string 2").toCollection(ArrayList())