SavableObject NuGet Package

NOTE: It's enough to add this package to only Portable Layer.
v.1.4.0
Added namingRule to objects.

v.1.3.0 UPDATED!!
Fully upggraded to .Net Standard 2.0
Object Collection Saving & Loading problem solved.
Clear() problem solved.

It works fine now.


v.1.2.3
Stabled all features from v.1.2.2
Some collections saving problem fixed!

v.1.2.2
IgnoreSave attribute fixed!
You can save, load, clear any object with static methods,
SavableObject.Save();
SavableObject.Load();
SavableObject.Clear();

v.1.2.1 UPDATE !!
Same properties from different classes, overries each other. This problem fixed and all properties are saved for its own class

v.1.2.0 UPDATE!!!
Plugin converted to .Net Standard template, you may change your references

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
NEED MORE HELP?
you can visit http://enisnecipoglu.com/xamarin-forms-saving-data-without-sql/

class UserInfo : SavableObject
{
public string Name { get; set;}
[IgnoreSave]
public byte Age{ get; set;}

~UserInfo()
{
Save();
}
}.




Got any SavableObject Question?





Info

Version: 1.4.1
Author(s): Enis Necipoğlu
Last Update: Wednesday, April 24, 2019
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/enisn/TestAppSavableObject
NuGet Url: https://www.nuget.org/packages/Xamarin.Forms.SavableObject


Install
Install-Package Xamarin.Forms.SavableObject
dotnet add package Xamarin.Forms.SavableObject
paket add Xamarin.Forms.SavableObject
Xamarin.Forms.SavableObject Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

1.9

avg-downloads-per-day

5

days-since-last-release

2050