android - Refresh listview in fragment upon returning from fragment detail -
my application has principal activity action bar , tabs menu.
every tab fragment listview.
when click in listview, fragment detail open.
when click button, listview appears not elements appear; of them appear in white.
if touch refresh, appears fine.
the onactivityresult
doesn't execute.
my idea notifydatasetinvalidated()
refresh.
how can that?
you can try use
public void onresume() { // todo auto-generated method stub super.onresume(); filllistview(); }
this method called every time return detail fragment.
hope helps!!!
Comments
Post a Comment