android - Update ListView when updated list has got from server -


how dynamically update content of listview?

app gets list server , shows it. app caches list showing user without delay. somewhere in future app updated list (update small: 2 items added, 1 deleted).

how detect changes , update these items in listview? there complete solution?

if using arrayadapter, can use .add(), .addall(), .remove() change data of adapter. , call .notifydatasetchanged() refresh view in gui.


Popular posts from this blog