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

Popular posts from this blog

PySide and Qt Properties: Connecting signals from Python to QML -

c# - DevExpress.Wpf.Grid.InfiniteGridSizeException was unhandled -

scala - 'wrong top statement declaration' when using slick in IntelliJ -