DefaultCreationExtrasKt

Added in 2.9.0-alpha08

public final class DefaultCreationExtrasKt


Summary

Public methods

static final @NonNull CreationExtras

Creates a default instance of CreationExtras pre-configured with all keys required to use SavedStateHandle.

static final @NonNull CreationExtras

Creates a default instance of CreationExtras pre-configured with all keys required to use SavedStateHandle, with the specified defaultArgs as the DEFAULT_ARGS_KEY.

Public methods

public static final @NonNull CreationExtras DefaultCreationExtras()

Creates a default instance of CreationExtras pre-configured with all keys required to use SavedStateHandle.

This function sets up the instance with:

public static final @NonNull CreationExtras DefaultCreationExtras(@NonNull SavedState defaultArgs)

Creates a default instance of CreationExtras pre-configured with all keys required to use SavedStateHandle, with the specified defaultArgs as the DEFAULT_ARGS_KEY.

This function sets up the instance with: