PanelContainerElementAnimator
interface PanelContainerElementAnimator<VM : PanelSubContainerViewModel<SD>, SD>
Content copied to clipboard
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
abstract fun runEnterAnimationIfAny(panelContainerElementHolder: PanelContainerElementHolder<VM, SD>, animationListener: Animation.AnimationListener): Boolean
Content copied to clipboard
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
Content copied to clipboard
Called to run an animation, if any, when a PanelContainerElement referenced by panelContainerElementHolder exits a panel container.