jeudi 17 décembre 2020

How can I access and change a field value of object-member inside a object in kotlin by reflection?

For example, I want to access the property age using reflection from the Father object

data class Father(
   val children: Children()
)

data class Children(
   val age: Int
)




Aucun commentaire:

Enregistrer un commentaire