I have to load large bitmaps into my scrollView - I want to achieve something like facebook stream. Especially on android, there are some memory issue I had to faced with. For now, using setInterval, I'm checking which images are visible (based on scrollView.rect.height and heigh of each element) - if position of imageView during scrolling tells me, that it should be visible for user, I set imageView.image property to 'http://myapi.com/images/imageurl.jpg', other way to empty string (and memory is released). Without this, after 10-15 images loaded into scrollView, I come across out of memory exception.
My question is: does ListView do that kind of trick by itself? Or - even if I will rewrote my app to use ListView instead of scrollView - I will have to take care about visible images (read: consumed memory) by myslef?