I have written an Android App for producing and saving 'Photography Services' Contracts to the device as a file for later printing. The class is pretty much made up of integers, doubles and Strings (including base64_encoded signatures).
The class implements serialisable. However, I am worried about I update the app, forget not to edit the class & edit it, reload onto my device and have X number of contracts saved to a file and then not be able to retrieve them.
Earlier I was browsing and found serialVersionUID. In a post I read that simply by implementing this simple long value, if i update the class it will still be able to be read. Is this correct? I read the java documentation for Serializable and couldnt make much of a decision on what the result of implementing serialVersionUID is.
Can anyone help shed some light on this for me? Just a simple yes this will work or no this wont work is sufficient and any links to help me learn will be even better!