Hello,
I have a set of objects (class). Each object is an imageview + properties.
This set will grow without limit. Properties number will grow also and may be some of them will be deleted.
What is the best solution to save and restore these objects properties ? I would like to avoid either iterations or duplication of properties in a separate collection.
I tried 2 approaches :
- WriteMap : writes all necessary properties in the file testmap but I cannot restore them
- KeyValueStore : doesn't write properties in the file testkvs (probably because my objects contain not primitive values)
Thank you in advance for your replies.
I have a set of objects (class). Each object is an imageview + properties.
This set will grow without limit. Properties number will grow also and may be some of them will be deleted.
What is the best solution to save and restore these objects properties ? I would like to avoid either iterations or duplication of properties in a separate collection.
I tried 2 approaches :
- WriteMap : writes all necessary properties in the file testmap but I cannot restore them
- KeyValueStore : doesn't write properties in the file testkvs (probably because my objects contain not primitive values)
Thank you in advance for your replies.
Attachments
Last edited: