vendredi 14 février 2020

Set data for dynamic view in android

I am generating an dynamic layout from API JSON response. Once the layout is created I need to fetch values from a model class and assign it to the dynamically generated view. The problem is how can I achieve this in runtime? I know this is possible with reflection but is there any other alternative approaches. Since reflection is very slow this might affect app performance.





Aucun commentaire:

Enregistrer un commentaire