onLoadCleared

abstract fun onLoadCleared(placeholder: Drawable)

A mandatory lifecycle callback that is called when a load is cancelled and its resources are freed.

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

placeholder

The placeholder drawable to optionally show, or null.