I'm new to android, I have a fragment and it goes through onPause, destroyView, destroy, but onSaveInstanceState is never called.
Is is this expected?
How can I save the state?
@Override
public void onSaveInstanceState(Bundle outState) {
outState.putParcelable(KEY_CATEGORY, category);
super.onSaveInstanceState(outState);
}