I didn't see my question (see below) appear in the group yet so I'm
resending.
Sorry if it appears twice.

Marc

2011/9/3 vdaele <marc.van.dael...@gmail.com>

> Hello,
>
> Suppose I have a horizontal scrollable list of say 100 movie posters
> (each in its own View)
> of which only 4 Views fit on the screen at the same time.
> When I've scrolled through the complete list once, I will have 100
> Bitmaps in memory of which only 4 are visible.
>
> To save memory, I want to release the Bitmaps of those Views that are
> off-screen.
> Is there an easy way to know whether a View is effectively visible or
> should I compute this myself?
>
> (I've looked at the onVisibilityChanged listener but this seems to
> serve a different purpose)
>
> Thanks for your help,
>
> Marc
>
>
>
>

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

Reply via email to