My app queries a service using an external library in the form of a JAR file. When I query this service, I get back a List of objects (object is used generically, not Object), which do not implement Parcelable in their current form. I need to send one of these objects between activities, so I am assuming that I need to somehow make them implement Parcelable. However, I’m not sure how to do so if they are not my objects, and all the tutorials I’ve found online seem to only deal with objects that the author created for his own project.
Any help would be greatly appreciated. Let me know if I need to clarify something.
Another alternative would be to use your Application to store these objects. Simple subclass Application, make it a singleton and declare it in your Manifest.xml
Then later on you can store it:
And recover it:
Remember that: