java.lang.Object | |
↳ | com.urbanairship.images.ImageRequestOptions.Builder |
Image request option builder.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ImageRequestOptions |
build()
Builds the image request options.
| ||||||||||
ImageRequestOptions.Builder |
setFallbackDimensions(int width, int height)
Sets fallback dimensions to be used if the target
ImageView reports a width or height of zero
during image loading, due to not being measured yet or if dimensions are set to WRAP_CONTENT . | ||||||||||
ImageRequestOptions.Builder |
setImageLoadedCallback(ImageLoader.ImageLoadedCallback callback)
Sets an
ImageLoader.ImageLoadedCallback to notify the caller when the image has been loaded. | ||||||||||
ImageRequestOptions.Builder |
setPlaceHolder(int placeHolder)
Sets the place holder.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Builds the image request options.
Sets fallback dimensions to be used if the target ImageView
reports a width or height of zero
during image loading, due to not being measured yet or if dimensions are set to WRAP_CONTENT
.
Sets an ImageLoader.ImageLoadedCallback
to notify the caller when the image has been loaded.
Sets the place holder.
placeHolder | The place holder resource. |
---|