com.bumptech.glide.request.target
Class DrawableImageViewTarget

java.lang.Object
  extended by com.bumptech.glide.request.target.BaseTarget<Z>
      extended by com.bumptech.glide.request.target.ViewTarget<ImageView,Z>
          extended by com.bumptech.glide.request.target.ImageViewTarget<Drawable>
              extended by com.bumptech.glide.request.target.DrawableImageViewTarget
All Implemented Interfaces:
LifecycleListener, GlideAnimation.ViewAdapter, Target<Drawable>

public class DrawableImageViewTarget
extends ImageViewTarget<Drawable>

A target for display Drawable objects in ImageViews.


Field Summary
 
Fields inherited from class com.bumptech.glide.request.target.ViewTarget
view
 
Fields inherited from interface com.bumptech.glide.request.target.Target
SIZE_ORIGINAL
 
Constructor Summary
DrawableImageViewTarget(ImageView view)
           
 
Method Summary
protected  void setResource(Drawable resource)
           
 
Methods inherited from class com.bumptech.glide.request.target.ImageViewTarget
getCurrentDrawable, onLoadCleared, onLoadFailed, onLoadStarted, onResourceReady, setDrawable
 
Methods inherited from class com.bumptech.glide.request.target.ViewTarget
getRequest, getSize, getView, setRequest, setTagId, toString
 
Methods inherited from class com.bumptech.glide.request.target.BaseTarget
onDestroy, onStart, onStop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.bumptech.glide.request.animation.GlideAnimation.ViewAdapter
getView
 

Constructor Detail

DrawableImageViewTarget

public DrawableImageViewTarget(ImageView view)
Method Detail

setResource

protected void setResource(Drawable resource)
Specified by:
setResource in class ImageViewTarget<Drawable>