jamesmontemagno / SettingsPlugin

Read and Write Settings Plugin for Xamarin and Windows
MIT License
324 stars 80 forks source link

How to store setting is an Object? #58

Closed nguyenthanhliemfc closed 7 years ago

nguyenthanhliemfc commented 7 years ago

I have an Object HUMAN: EyesColor, HairColor, Name, Tall How to store setting is HUMAN Object or I must create one by one properties of HUMAN?

jamesmontemagno commented 7 years ago

Settings are for simple properties, not full structures. You could save it into a string via json if you needed too, however not recommended.

If you need to store a lot of data, you should create a database: https://github.com/praeclarum/sqlite-net