2014-02-23 13:07:52 -05:00
2014-02-23 12:51:09 -05:00
2014-02-23 12:51:09 -05:00
2014-02-23 13:04:40 -05:00
2014-02-23 13:04:40 -05:00
2014-02-23 09:49:12 -08:00
2014-02-23 13:07:52 -05:00
2014-02-23 12:51:09 -05:00

Xamarin Shared Preference Abstraction

Abstraction around shared settings in Android Xamarin

Disclamer:

This will only save primitives ie. strings, ints, etc.

if you wish to save complex objects, you should look at doing some sqlite.

How to use:

New up a settingskey class


var sk = new SharedSettingsAbstraction.Setting.SettingsKey<string>("KeyName", "PreferenceName", "DefaultValuehere");
           var setting = sk.getSetting(Context con)
		   var setsetting = sk.SetSetting(Context con, "New Value!")

Description
Abstraction around sharedpreferences in Android xamarin
Readme 39 KiB
Languages
C# 100%