public override void OnActivityCreated(Bundle savedInstanceState)
        {
            base.OnActivityCreated(savedInstanceState);

            MRequestFocus = delegate {
                mList.FocusableViewAvailable(mList);
            };

            mHandler = new MyPreferenceFragmentHandler(this);

            if (mHavePrefs)
            {
                BindPreferences();
            }

            mInitDone = true;

            if (savedInstanceState != null)
            {
                Bundle container = savedInstanceState.GetBundle(PREFERENCES_TAG);
                if (container != null)
                {
                    PreferenceScreen preferenceScreen = PreferenceScreen;
                    if (preferenceScreen != null)
                    {
                        preferenceScreen.RestoreHierarchyState(container);
                    }
                }
            }
        }
        public override void OnActivityCreated(Bundle savedInstanceState)
        {
            base.OnActivityCreated(savedInstanceState);

            if (mHavePrefs)
            {
                BindPreferences();
            }

            mInitDone = true;

            if (savedInstanceState != null)
            {
                Bundle container = savedInstanceState.GetBundle(PREFERENCES_TAG);
                if (container != null)
                {
                    PreferenceScreen preferenceScreen = PreferenceScreen;
                    if (preferenceScreen != null)
                    {
                        preferenceScreen.RestoreHierarchyState(container);
                    }
                }
            }
        }