ViewPropertyTransition
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)
Content copied to clipboard
Constructor for a view property animation that takes an ViewPropertyTransition.Animator interface that can apply a transition to a view.
Types
Functions
Link copied to clipboard
open fun transition(current: R, adapter: Transition.ViewAdapter): Boolean
Content copied to clipboard
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.