TransitionTarget

interface TransitionTarget : Target

A Target that supports applying Transitions.

Functions

onError
Link copied to clipboard
open fun onError(error: Drawable?)

Called if an error occurs while executing the request.

onStart
Link copied to clipboard
open fun onStart(placeholder: Drawable?)

Called when the request starts.

onSuccess
Link copied to clipboard
open fun onSuccess(result: Drawable)

Called if the request completes successfully.

Properties

drawable
Link copied to clipboard
abstract val drawable: Drawable?

The view's current Drawable.

view
Link copied to clipboard
abstract val view: View

The View used by this Target.

Inheritors

ImageViewTarget
Link copied to clipboard