PanelContainerElementAnimator
Animator for PanelContainerElements.
Parameters
VM
The panel sub-container view model type.
SD
The type of the panel sub-container data. The data is derived from the panel container data.
Functions
Link copied to clipboard
Ends all ongoing animations. This will cancel the animation and invoke the AnimationListener.onAnimationEnd.
Link copied to clipboard
abstract fun runEnterAnimationIfAny(panelContainerElementHolder: PanelContainerElementHolder<VM, SD>, animationListener: Animation.AnimationListener): Boolean
Called to run an animation, if any, when a PanelContainerElement referenced by panelContainerElementHolder enters a panel container.
Link copied to clipboard
abstract fun runExitAnimationIfAny(panelContainerElementHolder: PanelContainerElementHolder<VM, SD>, animationListener: Animation.AnimationListener): Boolean
Called to run an animation, if any, when a PanelContainerElement referenced by panelContainerElementHolder exits a panel container.