I have an object that i must save to file for reuse. The class of this object already implements Parcelable
for use in intents. My knowledge of saving an object to file says to implement Serializable
, but when i do, i get an error in the class that contains this object at the putExtra
method of an intent because both Serializable
and Parcelable
have this method.
Is there a way to avoid this, or just a way that i can save my object state and reload it easily?
I have looked at a few articles and i feel no more informed about how i should be saving my object. Thanks in advance