@Override public void onSaveInstanceState(Bundle savedInstanceState) { super.onSaveInstanceState(savedInstanceState); saveSettings(this); if ((savedInstanceState != null) && (this.mFilter != null)) { savedInstanceState.putString(STATE_Filter, this.mFilter.toString()); } }
@Override public void onSaveInstanceState(Bundle savedInstanceState) { fromGui(mFilter); savedInstanceState.putString(FILTER_VALUE, mFilter.toString()); super.onSaveInstanceState(savedInstanceState); }