Monday, August 1, 2011

[android-developers] Re: Curious NPE

> Why wouldn't you just serialize the members of your object(s) directly
> to the Bundle you're being given in onSaveInstanceState()?

- encapsulates the serialization
- no worrying about name collisions
- support for collections of objects
- I am also planning on using the JSON seralized objects as a backup
format for my database, at which point I'd be writing them to a file,
obviously.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment