title: Save cache when rotate device
body: <p>I have a <code>Gallerywiew</code>.</p>
  
  <p>I'm using <code>lazyload</code> to download images but when I rotate device it reloads all images and does not use the cache.</p>
  
  <p>If I do <code>android:configChanges="keyboardHidden|orientation"</code> the current images are in size of latest orientation.</p>
  
  <p>To get the images to show full size I do:</p>
  
  <pre><code>Display display = ((WindowManager)getSystemService(Context.WINDOW_SERVICE))
                             .getDefaultDisplay();
  int width = display.getWidth();
  int height = display.getHeight();
  </code></pre>