Xam.Plugins.pbXSettings
1.0.44
See the version list below for details.
Requires NuGet 2.8.1 or higher.
dotnet add package Xam.Plugins.pbXSettings --version 1.0.44
NuGet\Install-Package Xam.Plugins.pbXSettings -Version 1.0.44
<PackageReference Include="Xam.Plugins.pbXSettings" Version="1.0.44" />
paket add Xam.Plugins.pbXSettings --version 1.0.44
#r "nuget: Xam.Plugins.pbXSettings, 1.0.44"
// Install Xam.Plugins.pbXSettings as a Cake Addin #addin nuget:?package=Xam.Plugins.pbXSettings&version=1.0.44 // Install Xam.Plugins.pbXSettings as a Cake Tool #tool nuget:?package=Xam.Plugins.pbXSettings&version=1.0.44
Plugin that makes it easy to handle all sorts of settings, more precisely, values of any type that is accessed through a key.
This plugin was inspired by another similar component written by James Montemagno, but I used a different approach to data handling and usage.
This plugin uses the native settings storage, which means all settings are persisted across app updates, saved natively, and on some platforms synchronized between devices.
- Android: SharedPreferences
- Apple: NSUserDefaults
- UWP: ApplicationDataContainer
- .NET / .NET Core 2: UserStore -> IsolatedStorageFile
The main plugin class (Plugin.pbXSettings.Settings) is fully ready for use in any binding systems because implements interface INotifyPropertyChanged. Can also be used as a regular collection, that is, it can be enumerated :)
The class uses .NET DataContractSerializer for saving and restoring keys and values, which means you can put and retrieve practically any valid .NET object as long as it meets the requirements of this serialization technolgy.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid10 is compatible. |
Universal Windows Platform | uap10 is compatible. |
Xamarin.iOS | xamarinios10 is compatible. |
Xamarin.Mac | xamarinmac20 is compatible. |
Xamarin.TVOS | xamarintvos is compatible. |
Xamarin.WatchOS | xamarinwatchos is compatible. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.