Package 

Class GenericViewTarget

  • All Implemented Interfaces:
    androidx.lifecycle.DefaultLifecycleObserver , androidx.lifecycle.FullLifecycleObserver , androidx.lifecycle.LifecycleObserver , coil.target.Target , coil.target.ViewTarget , coil.transition.TransitionTarget

    
    public abstract class GenericViewTarget<T extends View>
     implements ViewTarget<T>, TransitionTarget, DefaultLifecycleObserver
                        

    An opinionated ViewTarget that simplifies updating the Drawable attached to a View and supports automatically starting and stopping animated Drawables.

    If you need custom behaviour that this class doesn't support it's recommended to implement ViewTarget directly.