title: android.graphics.drawable.TransitionDrawable cannot be cast to com.bumptech.glide.load.resource.bitmap.GlideBitmapDrawable
body: <p>I have loaded remote image to <code>ImageView</code> using below code</p>
  
  <pre><code>Glide.with(context)
                  .load(imageUrl)                   
                  .placeholder(R.drawable.placeholderImage)
                  .into(holder.wallPaperImageView);
  </code></pre>
  
  <p>Now I want to get the bitmap from imageview</p>
  
  <pre><code>  Bitmap bitmap = ((GlideBitmapDrawable)holder.wallPaperImageView.getDrawable()).getBitmap();
  </code></pre>
  
  <p>but above line of code throws below exception:</p>
  
  <blockquote>
    <p>java.lang.ClassCastException:
    android.graphics.drawable.TransitionDrawable cannot be cast to
    com.bumptech.glide.load.resource.bitmap.GlideBitmapDrawable</p>
  </blockquote>
  
  <p>How to resolve this?</p>