On Thu, Jun 17, 2010 at 10:30 AM, mac-systems <jens.h...@gmx.de> wrote:

> But its always wise to keep informations together without always asking the
> Database.
>

I ran into this as well - instead of making a class Parcelable, I made it be
"bundleable" - i.e., give it two methods to convert it to and from a Bundle,
which you can pass as a single object in Intent extras. It's slightly more
verbose than the Parcelable method, but solves the problem since no class
loader is required and keeps you data together and prevents duplicating code
of putting and retrieving individual intent extras.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to