DefaultPanelSubContainerAnimator
Default PanelContainerElementAnimator which allows the animation for PanelContainerElement.SubContainer elements.
For PanelContainerElement.BasicElement elements this animator does not provide any animations.
Use createDefaultPanelSubContainerAnimator to construct this class.
Parameters
An owner of a lifecycle that animations will be bound to to ensure they stop if a lifecycle goes to the destroyed state.
A provider of the animation used for the creation of sub-containers.
A provider of the animation used for the removal of sub-containers.
The panel sub-container view model type.
The type of the panel sub-container data. The data is derived from the panel container data.
Constructors
Functions
Ends all ongoing animations. This will cancel the animation and invoke the AnimationListener.onAnimationEnd.
Called to run an animation, if any, when a PanelContainerElement referenced by panelContainerElementHolder enters a panel container.
Called to run an animation, if any, when a PanelContainerElement referenced by panelContainerElementHolder exits a panel container.