Xamarin.Forms.SavableObject
1.1.1
See the version list below for details.
Requires NuGet 2.8.3 or higher.
dotnet add package Xamarin.Forms.SavableObject --version 1.1.1
NuGet\Install-Package Xamarin.Forms.SavableObject -Version 1.1.1
<PackageReference Include="Xamarin.Forms.SavableObject" Version="1.1.1" />
paket add Xamarin.Forms.SavableObject --version 1.1.1
#r "nuget: Xamarin.Forms.SavableObject, 1.1.1"
// Install Xamarin.Forms.SavableObject as a Cake Addin #addin nuget:?package=Xamarin.Forms.SavableObject&version=1.1.1 // Install Xamarin.Forms.SavableObject as a Cake Tool #tool nuget:?package=Xamarin.Forms.SavableObject&version=1.1.1
NEW UPDATE!!!
-From now, All object Types are supported!
MINOR UPDATE
-Fixed Saving strings.
BUGS
- ObservableCollection is not supported for now, Please use IList on your property and set it in constructor as ObservableCollection. You can find that in sample project.
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 |