0

I'm facing an issue with Parcelable and Serializable. All my attributes from a class are Serializable unless Context. In the case of Context I've done this object transient so I shouldn't have Serializable problems. My issue is that I keep having parceable problems only in devices with API < 11. Could devices with API < 11 have problems with transient?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Jose M Lechon
  • 5,766
  • 6
  • 44
  • 60
  • 2
    Define "parceable problems", possibly with a stacktrace. `transient` and `Serializable` are available from API Level 1 on and should therefore work on any level. – zapl Feb 18 '14 at 13:56
  • If you're using Parcelable you don't have to worry about transient, cause you're the one who controls what data goes into the Parcel. – Egor Feb 18 '14 at 14:07
  • I was having the same thoughts as @zapl about API Level 1 and actually it's true, the error came from other side and it's already solved. Thanks – Jose M Lechon Feb 18 '14 at 14:55

0 Answers0