title: how to save image onSaveInstanceState when rotate screen ?
body: <p>I'm downloading an image to image view by AsyncTask and I want to save my image when I'm rotate my phone and not to download again to image view... </p>
  
  <pre><code>public void onSaveInstanceState(Bundle toSave) {
      super.onSaveInstanceState(toSave);
      my_image.buildDrawingCache();
      Parcelable bm = my_image.getDrawingCache();
      toSave.putParcelable("savedImage", bm);
  
  } 
  </code></pre>
  
  <p>i'm trying to understand if I'm doing something wrong with  <strong>onSaveInstanceState</strong> or not, and how do I retrieve this state <strong>onRestoreInstanceState</strong> and place the image without downloading again ...</p>