title: How to recycle bitmaps shown in Gridview
body: <p>I am using GridView in my app. The images for gridview are</p>
  
  <ol>
  <li>I download them from network.</li>
  <li>Downscale them to required size.</li>
  <li>Write them to file,</li>
  </ol>
  
  <p>All 3 steps are done using AsyncTask. Then I update UI. Next time when I open GridView, I simply decode it from sdcard. The image count is around 15. When I do memeinfo dumpsys on my app, my heap size keeps growing from 12 to 50. My question is , will gridview automatically recycle the bitmaps passed in adapter or we have to do for it. I get OutOfMemoryException.I see many links how to handle bitmaps efficiently including android link and I have implemented them in my app but no link explains bitmap recycle in gridview.Please help me.</p>