samedi 9 janvier 2016

exapndableListView dynamicly updating textviews inside

I having a dynamic exapndableListView, its populated using an adapter. inside I have mainviews and child views, both are updating using sql queries both containing Textviews. The problem is that I have the sql data changing, and itsnt the main listview names or the child elements names, those stay unchanged, only the textviews values. Now if I am to update only the values, I have to loop through all textviews? but thouse have the same ids, or should I loop through the views elements? What is the best approach you would recommend?

Aucun commentaire:

Enregistrer un commentaire