DefaultPanelSubContainerAnimator

fun <SD> DefaultPanelSubContainerAnimator(    lifecycleOwner: LifecycleOwner,     enterAnimationProvider: PanelSubContainerAnimationProvider<SD>?,     exitAnimationProvider: PanelSubContainerAnimationProvider<SD>?)

Parameters

lifecycleOwner

An owner of a lifecycle that animations will be bound to to ensure they stop if a lifecycle goes to the destroyed state.

enterAnimationProvider

A provider of the animation used for the creation of sub-containers.

exitAnimationProvider

A provider of the animation used for the removal of sub-containers.

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.