// Overridden from ListPreference protected override string GetPersistedString(string defaultReturnValue) { if (SharedPreferences.Contains(Key)) { var value = GetPersistedInt(0); return(value + ""); } else { return(defaultReturnValue); } }
public bool Contains(string key, bool roaming = false) { return(SharedPreferences.Contains(key)); }