onLoadFailed

open fun onLoadFailed(errorDrawable: Drawable)

A mandatory lifecycle callback that is called when a load fails.

Note - This may be called before onLoadStarted if the model object is null.

You must ensure that any current Drawable received in onResourceReady is no longer used before redrawing the container (usually a View) or changing its visibility.

Parameters

errorDrawable

The error drawable to optionally show, or null.