public Object remove(String key) { if (mRetainFragment == null) { mRetainFragment = RetainInstanceFragment.findFragment(getFragmentManager()); } if (mRetainFragment == null) { return null; } return mRetainFragment.remove(key); }
public Object put(String key, Object object) { if (mRetainFragment == null) { mRetainFragment = RetainInstanceFragment.findOrCreateFragment(getFragmentManager()); } return mRetainFragment.put(key, object); }