Xamarin.Forms.SavableObject 1.3.0

SavableObject

NOTE: It's enough to add this package to only Portable Layer.

     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();
     }
     }

Install-Package Xamarin.Forms.SavableObject -Version 1.3.0
dotnet add package Xamarin.Forms.SavableObject --version 1.3.0
paket add Xamarin.Forms.SavableObject --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Same property name in different classes can save not as different data

Version History

Version Downloads Last updated
1.3.0 (current) 381 5/2/2018
1.2.3 160 3/14/2018
1.2.2 77 3/10/2018
1.2.1 85 3/8/2018
1.2.0 62 3/6/2018
1.1.1 139 12/30/2017
1.1.0 78 12/29/2017
1.0.2 81 12/28/2017
1.0.1 109 12/28/2017
1.0.0 77 12/28/2017