R- The type of the resource that will be transitioned into a view.
public class ViewPropertyTransition<R> extends java.lang.Object implements Transition<R>
Transitionthat accepts an interface that can apply an animation like a
android.animation.ObjectAnimatorthat can be used to transition a resource into a
|Modifier and Type||Class and Description|
An interface that allows an animation to be applied on or started from an
|Constructor and Description|
Constructor for a view property animation that takes an
|Modifier and Type||Method and Description|
Always applies the
public boolean transition(R current, Transition.ViewAdapter adapter)
ViewPropertyTransition.Animatorgiven in the constructor to the given view and returns
falsebecause the animator cannot put the new resource on the view.
current- The new resource that will be displayed in the view.
Transition.ViewAdapterwrapping a view that can at least return an