transition
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.
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.