Kotlin mengonversi array ke arraylist
arrayOf("your string","your string 2").toCollection(ArrayList())
Black Bee
arrayOf("your string","your string 2").toCollection(ArrayList())
val str = "abcd"
val array: Array<String> = str.toCharArray().map { it.toString() }.toTypedArray()