Class BitmapImageViewTarget
java.lang.Object
com.bumptech.glide.request.target.BaseTarget<Z>
com.bumptech.glide.request.target.ViewTarget<ImageView,Z>
com.bumptech.glide.request.target.ImageViewTarget<Bitmap>
com.bumptech.glide.request.target.BitmapImageViewTarget
- All Implemented Interfaces:
LifecycleListener,Target<Bitmap>,Transition.ViewAdapter
-
Field Summary
Fields inherited from class com.bumptech.glide.request.target.ViewTarget
viewFields inherited from interface com.bumptech.glide.request.target.Target
SIZE_ORIGINAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetResource(Bitmap resource) Sets theBitmapon the view usingImageView.setImageBitmap(android.graphics.Bitmap).Methods inherited from class com.bumptech.glide.request.target.ImageViewTarget
getCurrentDrawable, onLoadCleared, onLoadFailed, onLoadStarted, onResourceReady, onStart, onStop, setDrawableMethods inherited from class com.bumptech.glide.request.target.ViewTarget
clearOnDetach, getRequest, getSize, getView, removeCallback, setRequest, setTagId, toString, waitForLayoutMethods inherited from class com.bumptech.glide.request.target.BaseTarget
onDestroyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.bumptech.glide.request.transition.Transition.ViewAdapter
getView
-
Constructor Details
-
BitmapImageViewTarget
-
BitmapImageViewTarget
Deprecated.UseViewTarget.waitForLayout()instead.
-
-
Method Details
-
setResource
Sets theBitmapon the view usingImageView.setImageBitmap(android.graphics.Bitmap).- Specified by:
setResourcein classImageViewTarget<Bitmap>- Parameters:
resource- The bitmap to display.
-
ViewTarget.waitForLayout()instead.