I try to do this with (same as java)
val disabledNos = intArrayOf(1, 2, 3, 4)
var integers = Arrays.asList(disabledNos)
but this doesn't give me a list. Any ideas?
question from:https://stackoverflow.com/questions/46662513/convert-array-to-list-in-kotlin