Having a list view with some details, I have data inflated in list view from server. So on create of activity I have called a api to get data and inflated to list view once. And also pagination is there in list view,so on scroll to last item it will again call api for next page and append data of next page at end of list. This works fine.
But what I want is kind of auto referesh of list view data at some interval. Means list view to have kind of updated data.How I need to architecture my activity to obtain solution I want.
Having a list view with some details, I have data inflated in list view
Share
Try this:
In onCreate() :
Thanks.