DefaultCreationExtrasKt

Added in 2.9.0-alpha07

public final class DefaultCreationExtrasKt


Summary

Public methods

static final @NonNull CreationExtras

Creates a default instance of CreationExtras.

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.

public static final @NonNull CreationExtras DefaultCreationExtras(@NonNull Bundle 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: