Android ListView 'blinks' / 'flashes' on notifyDataSetChanged() -
i have simple listview in andriod app. however, everytime phone call notifydatasetchanged() on adapter, 'blinks'. works fine, listview flashes. goes compeltely white, , comes in fraction of second. may causing this?
i not sure code share simple listview / adapter if you'd see part of code please allow me know.
this code updates listview:
parsecloud.callfunctioninbackground("recentwithads", new hashmap<string, object>(), new functioncallback() { public void done(object resp, parseexception e) { mloading = false; mswipelayout.setrefreshing(false); marticles.clear(); marticles.addall(articles); madapter.notifydatasetchanged(); } });
thanks
android listview
No comments:
Post a Comment