Monday, November 29, 2010

Re: [android-developers] Passing objects to new intents

So you return a Bundle and receive a bundle then expand it to the properties?

That's pretty quality. Good thought.

---
John C. Bland II
Blog: http://www.johncblandii.com
Company: http://www.katapultmedia.com
Twitter: @johncblandii


On Mon, Nov 29, 2010 at 12:41 PM, TreKing <trekingapp@gmail.com> wrote:
On Mon, Nov 29, 2010 at 10:09 AM, John C. Bland II <johncblandii@gmail.com> wrote:
Should I continue to explore passing a full POJO to an intent, passing each individual value as an extra [prefer not], or stick with the database approach?

Objects that I need to pass across Activities or Services I make "bundleable", which just means they can contain two functions to store their state to a bundle then restore it from a bundle.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
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

--
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