title: URL image not able set new content in ImageView, always it is taking old image from cache
body: <p>when i am setting the image to Imageview from URL, it is showing me old image in mobile. but showing correct(new) image in emulator.</p>
  
  <pre><code>public class URLImage extends AsyncTask&lt;String, Void, Bitmap&gt; {
  ImageView bmImage=null;
  Context context;
  public URLImage(ImageView bmImage ,Context context) {
      this.bmImage = bmImage;
      bmImage.setImageResource(R.drawable.loading);
      this.context=context;
  }
  
  protected Bitmap doInBackground(String... urls) {
      String urldisplay = urls[0];
      Bitmap mIcon11 = null;
      try {
          InputStream in = new java.net.URL(urldisplay).openStream();
  
          mIcon11 = BitmapFactory.decodeStream(in);
      } catch (Exception e) {
          Log.e("Error", e.getMessage());
          e.printStackTrace();
      }
      return mIcon11;
  }
  
  protected void onPostExecute(Bitmap result) {
  
      Drawable d = new BitmapDrawable(context.getResources(),result);
      bmImage.setImageDrawable(d);
  }
  </code></pre>