title: Is it a good idea to call recycle() and destroyDrawingCache() after creating a bitmap, performance-wise?
body: <p>In my Android app I have a function to get a bitmap from an ImageView and TextView, then save it to the SDCard. At the end of the function I am currently calling recycle() on the bitmap objects and destroyDrawingCache() on the ImageView, as follows:</p>
  
  <pre><code>b1.recycle();
  bitmap.recycle();
  imgView.destroyDrawingCache();
  </code></pre>
  
  <p>b1 and bitmap are Bitmap objects, and they are local variables. imgView is an ImageView object, and it is a field. imgView gets recreated often as the application runs. Is it a good idea, performance and memory-wise, to include these three lines of code? Or will the garbage collector do the work automatically so that including them will just slow the application down as it has to make three method calls?</p>