List of usage examples for android.preference PreferenceScreen saveHierarchyState
public void saveHierarchyState(Bundle container)
From source file:com.balch.android.app.framework.preference.PreferenceFragment.java
public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); PreferenceScreen preferenceScreen = getPreferenceScreen(); if (preferenceScreen != null) { Bundle container = new Bundle(); preferenceScreen.saveHierarchyState(container); outState.putBundle(PREFERENCES_TAG, container); }//from www.j a v a 2 s .c o m }
From source file:apps.veery.com.util.PreferenceFragment.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); final PreferenceScreen preferenceScreen = getPreferenceScreen(); if (preferenceScreen != null) { Bundle container = new Bundle(); preferenceScreen.saveHierarchyState(container); outState.putBundle(PREFERENCES_TAG, container); }/*ww w .ja v a 2s .c o m*/ }
From source file:com.limelight.testvideosdk.PreferenceFragment.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); final PreferenceScreen preferenceScreen = getPreferenceScreen(); if (preferenceScreen != null) { Bundle container = new Bundle(); preferenceScreen.saveHierarchyState(container); outState.putBundle(PREFERENCES_TAG, container); }// w w w . j a v a2s . c o m }