DefaultPanelSubContainerAnimator

constructor(lifecycleOwner: LifecycleOwner, subContainerAnimationProvider: SubContainerAnimationProvider<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.

subContainerAnimationProvider

A provider of the enter and exit animations used for the entrance and exit 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.