Here goes the link
https://www.nuget.org/profiles/PluginsForXamarin
In case of Settings Plugin for Xamarin and Windows,
Ensure that you install NuGet into PCL and all platform projects and see Helpers/Settings.cs
If you are installing this in a normal project and not using a pcl create a new file called Settings.cs or whatever you want and copy this code in.
to add/retrieve data use following code:
CrossSettings.Current.AddOrUpdateValue<string>("UserNameKey","Matt");
string sName = CrossSettings.Current.GetValueOrDefault<string>("UserNameKey","unknown");
### Important
sqllite-net-pcl plugin
https://www.nuget.org/packages/sqlite-net-pcl/
https://www.nuget.org/packages/Xam.Plugins.Messaging/
https://www.nuget.org/profiles/PluginsForXamarin
In case of Settings Plugin for Xamarin and Windows,
Ensure that you install NuGet into PCL and all platform projects and see Helpers/Settings.cs
If you are installing this in a normal project and not using a pcl create a new file called Settings.cs or whatever you want and copy this code in.
to add/retrieve data use following code:
CrossSettings.Current.AddOrUpdateValue<string>("UserNameKey","Matt");
string sName = CrossSettings.Current.GetValueOrDefault<string>("UserNameKey","unknown");
### Important
sqllite-net-pcl plugin
https://www.nuget.org/packages/sqlite-net-pcl/
https://www.nuget.org/packages/Xam.Plugins.Messaging/
No comments:
Post a Comment