transition
open fun transition(current: R, adapter: Transition.ViewAdapter): Boolean
Content copied to clipboard
Always clears the current animation on the view using clearAnimation, then starts the android.view.animation.Animation given in the constructor using startAnimation and then returns
false
because the animation does not actually put the current resource on the view.
Return
True if in the process of running the transition, the new resource was put on the view, false if the caller needs to manually put the current resource on the view.
Parameters
current
The new resource that will be displayed in the view.
adapter
The Transition.ViewAdapter wrapping a view that can at least return an android.view.View from getView.