Re: [android-developers] List adapter: failing to recycle views = lots of memory allocated?
Romain Guy wrote: > That's sad :( :: shrug :: It's going to take a metric buttload of work for me to navigate the whole process, in particular figuring out everything the site instructions don't tell me. If I'm going to do that work, I'm going to do it seriously, which means not just to fix an old SDK sample. I need to get more bang for my proverbial buck, so to speak. Besides, writing an Android book isn't as big a hurdle for me as it might be for most people. :-) That being said, if there's anyone reading this thread that is contributing to Android through the public process, who wouldn't mind me kibitzing a bit, drop me a line. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- 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
Re: [android-developers] List adapter: failing to recycle views = lots of memory allocated?
That's sad :( On Tue, Mar 2, 2010 at 10:49 AM, Mark Murphy wrote: > Romain Guy wrote: >> Even better, submit a patch :) > > Only if I decide to write a book on how to work with the firmware and > contribute to the AOSP. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Android Development Wiki: http://wiki.andmob.org > > -- > 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 > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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
Re: [android-developers] List adapter: failing to recycle views = lots of memory allocated?
Romain Guy wrote: > Even better, submit a patch :) Only if I decide to write a book on how to work with the firmware and contribute to the AOSP. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Development Wiki: http://wiki.andmob.org -- 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
Re: [android-developers] List adapter: failing to recycle views = lots of memory allocated?
Even better, submit a patch :) On Tue, Mar 2, 2010 at 10:43 AM, Mark Murphy wrote: > Romain Guy wrote: >> *Always* reuse convertView. > > Should we file a bug report, then, for the List8.java SDK sample? That > *was* the context of this discussion. > > http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List8.html > > -- > 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 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 > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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
Re: [android-developers] List adapter: failing to recycle views = lots of memory allocated?
Romain Guy wrote: > *Always* reuse convertView. Should we file a bug report, then, for the List8.java SDK sample? That *was* the context of this discussion. http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List8.html -- 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 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
Re: [android-developers] List adapter: failing to recycle views = lots of memory allocated?
*Always* reuse convertView. On Tue, Mar 2, 2010 at 7:09 AM, Mark Murphy wrote: > Mark Wyszomierski wrote: >> I thought though that in earlier versions of the SDK that >> listview would internally release views more quickly if you weren't >> using convertView, and were allocating all of them like in the above >> example? > > I don't think that was the case. I think the example is just sub-optimal. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://twitter.com/commonsguy > > Warescription: Three Android Books, Plus Updates, One Low Price! > > -- > 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 > -- Romain Guy Android framework engineer romain...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them -- 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
Re: [android-developers] List adapter: failing to recycle views = lots of memory allocated?
Mark Wyszomierski wrote: > I thought though that in earlier versions of the SDK that > listview would internally release views more quickly if you weren't > using convertView, and were allocating all of them like in the above > example? I don't think that was the case. I think the example is just sub-optimal. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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