Code example for Bundle

Methods: getParcelable

0
            } 
            if (state != null) {
                container.putParcelable(mKey, state);
            } 
        } 
    } 
 
    private void dispatchSetInitialValue() { 
        final boolean shouldPersist = shouldPersist();
        if (!shouldPersist || !getSharedPreferences().contains(mKey)) {
            if (mDefaultValue != null) {
                onSetInitialValue(false, mDefaultValue);
            } 
        } else { 
            onSetInitialValue(true, null); 
        } 
    } 
 
    protected Preference findPreferenceInHierarchy(int id) {
        if (id <= 0 || mPreferenceManager == null) {
            return null;