Launcher
Creates a ComposableNavSpec.Launcher that takes the SingleValueNavigationAction.value as the input of its ActivityResultContract.
Parameters
the type of BaseLifecycleViewModel that any onResult should be applied to.
the type of input the activityResultContract expects.
the type of output the activityResultContract produces.
The ActivityResultContract to launch.
The result received after the launched screen has completed.
Creates a ComposableNavSpec.Launcher to launch an Activity with the NavigationAction.bundle.
Parameters
The type of android.app.Activity to launch.
the type of BaseLifecycleViewModel that any onResult should be applied to.
the type of output the activityResultContract produces.
The ActivityResultContract to launch. Must have Intent as its input type.
A set of IntentFlag to be applied to the launched activity.
The result received after the launched screen has completed.