FIX: IMPORTANT, to keep the life cicle of fragments, super() must be called in @onSaveInstaceState, at the holder Activity

This commit is contained in:
David A. Velasco 2013-02-20 15:59:45 +01:00
parent e8ae33b628
commit dcde6e9283

View file

@ -140,6 +140,7 @@ public class FileDetailActivity extends SherlockFragmentActivity implements File
@Override
protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
outState.putBoolean(KEY_WAITING_TO_PREVIEW, mWaitingToPreview);
}