Hi I'm trying to convert this java array to a kotlin array:
String[][] data = {{"May","22"},
{"June","45"}};
I tried two ways but my tableView is not showing any record. This is my way number 1:
val mayo: Array<String> = arrayOf("Mayo", "20")
val junio: Array<String> = arrayOf("Junio", "40")
val data2d1 = arrayOf(mayo, junio)
The I pased this array to the adapter of this library: https://github.com/ISchwarz23/SortableTableView
tableViewSalesPerMonth.dataAdapter = SimpleTableDataAdapter(requireContext(), data2d1)
and nothing happens, there is not data and not errors.
And this the way number 2 I created the next array by using the first array data2d1:
val data2d2 = mutableListOf<Array<String>>()
data2d2.addAll(data2d1)
This arrays that I did are wrong? I need something like:
String[][] data = {{"May","22"},
{"June","45"}};
but in kotlin code. Please guys if you have any idea to fix this problem I will appreciate it. Thanks so much.

var values = arrayOf(arrayOf("may", "33"), arrayOf("jun","32"))may be ok but my table doesn't show anything.