title: How to clear an ImageView in Android?
body: <p>I am reusing <code>ImageView</code>s for my displays, but at some point I don't have values to put it.</p>
  
  <p>So how to clear an <code>ImageView</code> in Android?</p>
  
  <p>I've tried:</p>
  
  <pre><code>mPhotoView.invalidate();
  mPhotoView.setImageBitmap(null);
  </code></pre>
  
  <p>None of them have cleared the view, it still shows previous image.</p>