withErrorImage

fun withErrorImage(errorImage: Any?)

Function to register error image when failed to load the source image

Parameters

errorImage

the image to show, supported type is Int and Drawable

Throws

when the source is not supported type