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

Reply via email to