Sam Dutton wrote:
> I haven't read through the whole thread, but FWIW there's a very good
> introduction to list view 'lazy loading' techniques in Beginning
> Android: http://www.apress.com/book/view/1430224193.
>
> Look in the sample code under fancylists -- well documented in the
> book.
Hm
I haven't read through the whole thread, but FWIW there's a very good
introduction to list view 'lazy loading' techniques in Beginning
Android: http://www.apress.com/book/view/1430224193.
Look in the sample code under fancylists -- well documented in the
book.
Sam Dutton
On Dec 8 2009, 2:34 pm,
> I found that when I used SoftReferences, they started getting cleared
> very quickly indeed, after my cache of thumbnails was up to maybe 20
> or so.
>
> When I use normal references, the cache grows happily to a couple of
> hundred thumbnails without OOMs being thrown.
>
> Being a java newbie, I
Oh nevermind, I saw you realised the scroll problem already :-)
Lee
--
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
andr
I have also recently been implementing adapter-based image loading
into a list.
I found that when I used SoftReferences, they started getting cleared
very quickly indeed, after my cache of thumbnails was up to maybe 20
or so.
When I use normal references, the cache grows happily to a couple of
hu
On Dec 9, 1:07 pm, Romain Guy wrote:
> You can check out the example I wrote at code.google.com/p/shelves. It
> does lazy loading of images from the sdcard.
Thanks Romain for your time; I will surely check the implementation
out.
Cheers!
--
You received this message because you are subscribed
skyhigh: thanks for your reply!
> > I haven't tried to do a lazy background image load like you are doing,
> > but have done some code that uses a holder/wrapper to store the layout
> > findViewById which is a nice optimization so that it doesn't have to
> > call inflate and findViewById again whe
You can check out the example I wrote at code.google.com/p/shelves. It
does lazy loading of images from the sdcard.
On Tue, Dec 8, 2009 at 11:45 PM, skyhigh wrote:
> I haven't tried to do a lazy background image load like you are doing,
> but have done some code that uses a holder/wrapper to stor
I haven't tried to do a lazy background image load like you are doing,
but have done some code that uses a holder/wrapper to store the layout
findViewById which is a nice optimization so that it doesn't have to
call inflate and findViewById again when each row is displayed. My
understanding is tha
9 matches
Mail list logo