ViewModelStoreNavEntryDecoratorDefaults


Holds the default functions for the ViewModelStoreNavEntryDecorator.

Summary

Public functions

() -> Boolean

This function is deprecated. This object is obsolete.

Cmn

Public functions

removeViewModelStoreOnPop

@Composable
fun removeViewModelStoreOnPop(): () -> Boolean

Controls whether the ViewModelStoreNavEntryDecorator should clear the ViewModelStore scoped to a NavEntry when NavEntryDecorator.onPop is invoked for that NavEntry's NavEntry.contentKey

The ViewModelStore is cleared if this returns true. The store is retained if false.