What is the best way to load heavy bitmap in the imageview?
<p>I as a new programmer, totally confused of the <code>OutOfMemoryException</code> whenever I use <code>BitmapFactory.decodeStream(is,option)</code> method which <code>returns</code> <code>Bitmap</code> object. As every application have its <code>virtual machine</code> budget, if it exceeds it throws <code>OutOfMemoryException</code> and application crashes as <code>bitmap</code> is heavy. So can anyone help me out for this. I have to set the image as on <code>ImageView</code> using <code>setImageBitmap(bitmap)</code> method. unless until m not able to make <code>Bitmap</code> reference how can i set it to <code>ImageView</code>? </p>
