R- The type of the resource that will be transitioned into a view.
public class ViewTransition<R> extends java.lang.Object implements Transition<R>
Transitionthat can apply a
|Modifier and Type||Method and Description|
Always clears the current animation on the view using
public boolean transition(R current, Transition.ViewAdapter adapter)
View.clearAnimation(), then starts the
Animationgiven in the constructor using
View.startAnimation(android.view.animation.Animation)and then returns
falsebecause the animation does not actually put the current 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