# DefaultOnImageEventListener

public class DefaultOnImageEventListener implements SubsamplingScaleImageView.OnImageEventListener

Default implementation of OnImageEventListener for extension. This does nothing in any method.

## Constructors

SubsamplingScaleImageView.DefaultOnImageEventListener
Link copied to clipboard
public void SubsamplingScaleImageView.DefaultOnImageEventListener()

## Functions

onImageLoaded
Link copied to clipboard
public void onImageLoaded()
Called when the full size image is ready.
onImageLoadError
Link copied to clipboard
public 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.
onPreviewLoadError
Link copied to clipboard
public void onPreviewLoadError(Exception e)
Called when a preview image could not be loaded.
onPreviewReleased
Link copied to clipboard
public void onPreviewReleased()
Called when a bitmap set using ImageSource.cachedBitmap is no longer being used by the View.
onReady
Link copied to clipboard
public 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.
onTileLoadError
Link copied to clipboard
public void onTileLoadError(Exception e)
Called when an image tile could not be loaded.