예제 #1
0
        public AllCategory()
        {
            Preferences preferences = Application.Preferences;

            categoriesToHide =
                preferences.GetStringList(Preferences.HideInAllCategory);
            Application.Preferences.SettingChanged += OnSettingChanged;
        }
예제 #2
0
        private void OnSettingChanged(Preferences preferences, string settingKey)
        {
            if (settingKey.CompareTo (Preferences.HideInAllCategory) != 0)
                return;

            categoriesToHide =
                preferences.GetStringList (Preferences.HideInAllCategory);
        }
예제 #3
0
        private void OnSettingChanged(Preferences preferences, string settingKey)
        {
            if (settingKey.CompareTo(Preferences.HideInAllCategory) != 0)
            {
                return;
            }

            categoriesToHide =
                preferences.GetStringList(Preferences.HideInAllCategory);
        }