Xamarin.Forms.SavableObject
1.0.2
See the version list below for details.
Requires NuGet 2.8.3 or higher.
dotnet add package Xamarin.Forms.SavableObject --version 1.0.2
NuGet\Install-Package Xamarin.Forms.SavableObject -Version 1.0.2
<PackageReference Include="Xamarin.Forms.SavableObject" Version="1.0.2" />
paket add Xamarin.Forms.SavableObject --version 1.0.2
#r "nuget: Xamarin.Forms.SavableObject, 1.0.2"
// Install Xamarin.Forms.SavableObject as a Cake Addin #addin nuget:?package=Xamarin.Forms.SavableObject&version=1.0.2 // Install Xamarin.Forms.SavableObject as a Cake Tool #tool nuget:?package=Xamarin.Forms.SavableObject&version=1.0.2
Just Inherit from SavableObject and use Save() Load() Methods to save and load your data. You can keep your SavableObject as a Static variable or Property to reach from anywhere of your application.
You can review the sample project from this link:
https://github.com/enisn/TestAppSavableObject
class UserInfo : SavableObject
{
public string Name { get; set;}
[IgnoreSave]
public byte Age{ get; set;}
~UserInfo()
{
Save();
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NETPlatform | dotnet is compatible. |
MonoAndroid | monoandroid10 is compatible. |
Xamarin.iOS | xamarinios10 is compatible. |
-
.NETPlatform 5.0
- Newtonsoft.Json (>= 9.0.1)
- Xamarin.Forms (>= 2.3.4.267)
-
MonoAndroid 0.0
- Xamarin.Forms (>= 2.3.4.267)
-
Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)
- Newtonsoft.Json (>= 9.0.1)
- Xamarin.Forms (>= 2.3.4.267)
-
Xamarin.iOS 1.0
- Xamarin.Forms (>= 2.3.4.267)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.4.1 | 8,613 | 4/24/2019 |
1.4.0 | 1,582 | 4/24/2019 |
1.3.1 | 1,630 | 4/23/2019 |
1.3.0 | 3,114 | 5/2/2018 |
1.2.3 | 2,021 | 3/14/2018 |
1.2.2 | 1,951 | 3/10/2018 |
1.2.1 | 1,908 | 3/8/2018 |
1.2.0 | 1,880 | 3/6/2018 |
1.1.1 | 1,984 | 12/30/2017 |
1.1.0 | 1,983 | 12/29/2017 |
1.0.2 | 1,982 | 12/28/2017 |
1.0.1 | 2,539 | 12/28/2017 |
1.0.0 | 2,067 | 12/28/2017 |