ViewTarget

interface ViewTarget<T : View> : Target

A Target with an associated View. Prefer this to Target if the given drawables will only be used by view.

Optionally, ViewTargets can implement LifecycleObserver. They are automatically registered when the request starts and unregistered when the request completes.

Properties

view
Link copied to clipboard
abstract val view: T
The View used by this Target.

Inheritors

GenericViewTarget
Link copied to clipboard