ViewPropertyTransition

open class ViewPropertyTransition<R> : Transition<R>

A Transition that accepts an interface that can apply an animation like a or a android.animation.ObjectAnimator that can be used to transition a resource into a View.

Parameters

<R>

The type of the resource that will be transitioned into a view.

Constructors

Link copied to clipboard
open fun ViewPropertyTransition(animator: ViewPropertyTransition.Animator)
Constructor for a view property animation that takes an ViewPropertyTransition.Animator interface that can apply a transition to a view.

Types

Link copied to clipboard
interface Animator
An interface that allows an animation to be applied on or started from an .

Functions

Link copied to clipboard
open fun transition(current: R, adapter: Transition.ViewAdapter): Boolean
Always applies the ViewPropertyTransition.Animator given in the constructor to the given view and returns false because the animator cannot put the new resource on the view.