i’m building an android app and i want to add a history function. I heard that i can serialize a list to be able to save and retrieve data instead of using a Database, i have no idea how it works so i come here and ask for advice, is there somewhere i could get started with this. Some good links could be useful.
Thanks
You should not use serializable, android implements parcelables in a much much more effective way. The catch is you have to define how parcel the object yourself, but it really isnt that hard.
Simple example:
If you want to save a Hashset, you just need to make sure that the objects inside the Hash are also parcelable.
If you feel this is too much trouble, the answer previously posted by Nailuj is right.