//------------------------------------------------------------------------------
        public override void OnCreate()
        {
            base.OnCreate();

            var lds = DynamicSettings.GetPlugin <ILocalDynamicSettingsPlugin>();

            lds.SetDefaultSettings(new Dictionary <string, object>()
            {
                { DynamicSettings.CheckBoxSettingName, false },
                { DynamicSettings.SwitchSettingName, false },
                { DynamicSettings.EditTextSettingName, "default setting value" },
                { DynamicSettings.EnumSettingName, EnumPreference.Zero },
            });
        }
        //------------------------------------------------------------------------------
        public static void UpdatePropertiesText()
        {
            var lds = DynamicSettings.GetPlugin <ILocalDynamicSettingsPlugin>();

            lds.LoadSettings();

            TextView textView = (TextView)s_TextView.Target;

            String propertiesText = String.Format(
                "Checkbox value is '{0}'\n" +
                "Switch value is '{1}'\n" +
                "TextPreference value is '{2}'\n" +
                "EnumPreference value is '{3}'",
                lds.GetSetting <string>(DynamicSettings.CheckBoxSettingName),
                lds.GetSetting <string>(DynamicSettings.SwitchSettingName),
                lds.GetSetting <string>(DynamicSettings.EditTextSettingName),
                lds.GetSetting <string>(DynamicSettings.EnumSettingName)
                );

            textView.Text = propertiesText;
        }