dimanche 18 décembre 2016

How to get a KClass of Array?

I wrote the below code to get a KClass of Array<*>.

Array::class

However, this code has a compilation error.

Kotlin: Array class literal requires a type argument, please specify one in angle brackets

Do you know any solution for this error?





Aucun commentaire:

Enregistrer un commentaire