SubContainerAnimationProviderContext

@IviExperimental(reasons = [])
class SubContainerAnimationProviderContext(val viewModelStoreOwner: ViewModelStoreOwner)

Information for an SubContainerAnimationProvider of a PanelContainer about how it should provide its enter and exit animations. Can be created through PanelContainerContext.createAnimationProviderContext.

Parameters

viewModelStoreOwner

The view model store owner that can be used to access view models to store or retrieve data needed for the animation strategy that survives Android configuration changes.

For instance, if the exit animation animates towards the source of the enter animation, and the enter animation can originate from multiple sources, then this data should be stored in a view model using this view model store owner.

Constructors

Properties