I'm overloading a function but I came across a problem
fun setNumbers(numbers: Array<Int>) {
}
clashes with
fun setNumbers(vararg numbers : Int) {
}
but none of them can deal with both
setAdapters(Array...)
setAdapters(varargs...)
is there any trick to make both of them not clash or accept both calls?