jeudi 26 septembre 2019

Kotlin - Get Class

Given the following class:

data class Foo(val bar: Int)

How would I obtain a Class<T> for Foo...

val prop = Foo::bar

...from this property expression?





Aucun commentaire:

Enregistrer un commentaire