ImageView: automatically recycle bitmap if ImageView is not visible (within ScrollView)
问题 So, I've been looking at the ImageView source for a while, but I haven't figured out a hook to do this yet. The problem: having, let's say, 30 400x800 images inside a ScrollView (the number of images is variable). Since they fit exactly in the screen they will take 1.3 MB of RAM each. What I want: to be able to load/unload bitmaps for the ImageViews that are currently visible inside a ScrollView. If the user scrolls and the bitmap is no longer visible (within a distance threshold) the bitmap