Hello I want to refresh the list view in timely manner, Here I am not adding/deleting any rows. I want to refresh because to refresh existing data in a rows.
I am doing this but this is not working for me.
// Update the Message on the screen to help for troubleshooting.
private void updateListView() {
// Callback to update the message in a second.
new CountDownTimer(30000, 1000) {
@Override
public void onTick(long arg0) {
adapter.notifyDataSetChanged();
listView.invalidateViews();
listView.refreshDrawableState();
}
@Override
public void onFinish() {
}
}.start();
}