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.

Inheritors

Properties

Link copied to clipboard
abstract val view: T

The View used by this Target. This field should be immutable.