-
public interface ImageRequest.ListenerA set of callbacks for an ImageRequest.
-
-
Method Summary
Modifier and Type Method Description UnitonStart(ImageRequest request)Called immediately after Target.onStart. UnitonCancel(ImageRequest request)Called if the request is cancelled. UnitonError(ImageRequest request, ErrorResult result)Called if an error occurs while executing the request. UnitonSuccess(ImageRequest request, SuccessResult result)Called if the request completes successfully. -
-
Method Detail
-
onStart
Unit onStart(ImageRequest request)
Called immediately after Target.onStart.
-
onCancel
Unit onCancel(ImageRequest request)
Called if the request is cancelled.
-
onError
Unit onError(ImageRequest request, ErrorResult result)
Called if an error occurs while executing the request.
-
onSuccess
Unit onSuccess(ImageRequest request, SuccessResult result)
Called if the request completes successfully.
-
-
-
-