in the following line of code I get error in mutableMapOf, help:
private var myMap: MutableMap <Int, ArrayList > = mutableMapOf ()
is not correct Kotlin syntax. ArrayList
is a genetic class, you must provide a type parameter for it. Like ArrayList<String>
.
Thanks Friend