[mono-android] Image caching
Liam Houlahan
liamhoulahan at gmail.com
Thu Jun 21 02:40:04 UTC 2012
Hi
Redth has a Url caching image store here on github
https://github.com/Redth/MonoDroid.UrlImageStore .
Liam
On Thu, Jun 21, 2012 at 2:14 AM, Jonathan Pryor <jonp at xamarin.com> wrote:
> On Jun 20, 2012, at 4:24 AM, Jens Bjarke Pedersen wrote:
> > I thought about reference counting and call disposal on bitmaps when
> they are not used. Or do mono droid have any tricks I can use instead :)
>
> I'd instead suggest a Most Recent Used list of ~10 items (change as
> appropriate) -- when you add/access an item to the MRU, put it at the
> front, and when you remove an item from the MRU you Dispose() of it. No
> need for reference counting, and keeps things (moderately) bounded.
>
> - Jon
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120621/c4e34abc/attachment.html>
More information about the Monodroid
mailing list