Example #1
0
        private void PersistBoolean(String name, ContentValues values)
        {
            if (values == null)
            {
                throw new InvalidOperationException(" values is null!!!");
            }
            String kBoolean = values.GetAsString(PREF_KEY);
            bool   vBoolean = values.GetAsBoolean(PREF_VALUE);

            GetDPreference(name).SetPrefBoolean(kBoolean, vBoolean);
        }