0

I have a class that I have implemented Parcelable. In that class I am using a list of objects from a jar. I was wondering how I can write that List without being able to implement parcelable on the someObject. Currently my class seems to writeToParcel fine it is when I am reading it back in that I am having issues. Any help would be great.

Thanks

Bobbake4
  • 24,509
  • 9
  • 59
  • 94
  • check this complete example http://stackoverflow.com/questions/7400564/android-parcelable-retailerorderactivity-java-return-null/7400675#7400675 – Lalit Poptani Oct 07 '11 at 17:28
  • That is a nice example but I cannot modify the class in my ArrayList so I can implement Parcelable on that class. – Bobbake4 Oct 07 '11 at 19:22

1 Answers1

0

If performance is not that big of a deal, you could (if the JAR's class implements Serializable) call writeSerializable() on the Parcel.

dmon
  • 30,048
  • 8
  • 87
  • 96