Re: [android-developers] fragment transactions in onLoadFinished()

2011-09-15 Thread Dianne Hackborn
postDelayed is even worse. Just understand that if the activity's fragment state has already been saved, your code will need to correctly update it if it is later restarted from the state. On Wed, Sep 14, 2011 at 9:31 PM, Nikolay Elenkov nikolay.elen...@gmail.comwrote: I have a simple activity

[android-developers] fragment transactions in onLoadFinished()

2011-09-14 Thread Nikolay Elenkov
I have a simple activity with a list fragment on the left and a details fragment on the right. Tapping a list item kicks off a loader which gets some data over HTTP and delivers it in onLoadFinished(). That works fine, but I'd like to change the detail fragment at this point. Calling