How can I copy/clone a views automatically in android studio for example, I have one imageview and a textview. how can i clone them on runtime with different values alongside with existing objects like them.
I tried to make invisible views and and update them later. but I don't think its efficient way. plus it is also limited
I'm fetching data from JSON file. which will get a text description and an image link each time I update that file online. so I want to update that in android app too! but unfortunately I can't do with single textview and single imageview. so need to automatically make them whenever the data is updated online.
if there is any other way of cloning views. kindly tell me.