public static interface SubsamplingScaleImageView.OnImageEventListener
Modifier and Type | Method and Description |
---|---|
void |
onImageLoaded()
Called when the full size image is ready.
|
void |
onImageLoadError(Exception e)
Indicates an error initiliasing the decoder when using a tiling, or when loading the full
size bitmap when tiling is disabled.
|
void |
onPreviewLoadError(Exception e)
Called when a preview image could not be loaded.
|
void |
onPreviewReleased()
Called when a bitmap set using ImageSource.cachedBitmap is no longer being used by the View.
|
void |
onReady()
Called when the dimensions of the image and view are known, and either a preview image,
the full size image, or base layer tiles are loaded.
|
void |
onTileLoadError(Exception e)
Called when an image tile could not be loaded.
|
void onReady()
void onImageLoaded()
onReady()
is the best
event to listen to.void onPreviewLoadError(Exception e)
e
- The exception thrown. This error is logged by the view.void onImageLoadError(Exception e)
e
- The exception thrown. This error is also logged by the view.void onTileLoadError(Exception e)
onImageLoadError(Exception)
.e
- The exception thrown. This error is logged by the view.void onPreviewReleased()