CallbackBuilder

interface CallbackBuilder : BaseCallbackBuilder

Interface to build Callback with Kotlin DSL.

See also

Functions

onError
Link copied to clipboard
abstract fun onError(onError: (Exception) -> Unit)
Invoked when image failed to load.
onSuccess
Link copied to clipboard
abstract fun onSuccess(onSuccess: () -> Unit)
Invoked when image is successfully loaded.