Listview items remove bitmaps from memory when the user scrolls

view story

http://stackoverflow.com – I am working on an android application. I have an activity that contains a list view. The list view has lots of items and each contains a bitmap image. Because the list is very big and contains a lot of images it is giving and out of memory error on some old devices when loading the bitmaps. So I am looking for a way to do the following for old devices: Load the bitmaps for the items that are in the view (or near it) When the user scrolls down I load the bitmaps that should appear to him and remove the bitmaps that are now hidden. So at anytime only the images that are in the view (or ne (HowTos)