Yeah that's what I decided to do. Thanks for the advice guys/gals. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of niko20 Sent: Friday, March 19, 2010 3:56 PM To: Android Developers Subject: [android-developers] Re: Pass ArrayList<Custom Type> to new activity
If both activites are in the same process, just move the large arraylist to be a global static object. -niko On Mar 19, 1:46 pm, "Tommy" <[email protected]> wrote: > Ok sounds good. I'll drop it into a shared location to be accessable. Thanks > for your time. > > > > -----Original Message----- > From: [email protected] > > [mailto:[email protected]] On Behalf Of Mark Murphy > Sent: Friday, March 19, 2010 3:41 PM > To: [email protected] > Subject: Re: [android-developers] Pass ArrayList<Custom Type> to new > activity > > Tommy wrote: > > I am trying to figure out the best way to pass an ArrayList <Custom > > Type> to a new activity. > > I will argue that complex data models should be in a shared spot (e.g., > managed by a local service), referenced by both activities. You waste a > bunch of CPU time and memory marshaling and unmarshaling the data trying > to pass it via an Intent extra or something. > > -- > Mark Murphy (a Commons Guy)http://commonsware.com|http://twitter.com/commonsguy > > Android Training in NYC: 1-2 May 2010:http://guruloft.com > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group athttp://groups.google.com/group/android-developers?hl=en > > To unsubscribe from this group, send email to > android-developers+unsubscribegooglegroups.com or reply to this email with > the words "REMOVE ME" as the subject. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

