Listener

interface Listener

A set of callbacks for an ImageRequest.

Functions

onCancel
Link copied to clipboard
open fun onCancel(request: ImageRequest)
Called if the request is cancelled.
onError
Link copied to clipboard
open fun onError(request: ImageRequest, result: ErrorResult)
Called if an error occurs while executing the request.
onStart
Link copied to clipboard
open fun onStart(request: ImageRequest)
Called immediately after Target.onStart.
onSuccess
Link copied to clipboard
open fun onSuccess(request: ImageRequest, result: SuccessResult)
Called if the request completes successfully.

Inheritors

EventListener
Link copied to clipboard