Example #1
0
        public void Set(string key, string value)
        {
            var prefEditor = SharedPref.Edit();
            var data       = value ?? "";

            prefEditor.PutString(key.ToString(), data);
            prefEditor.Commit();
        }
Example #2
0
 public void Reset()
 {
     SharedPref.Edit().Clear().Commit();
 }