ComposableNavSpec
Spec for navigating with a ComposableNavigator
Inheritors
Types
Link copied to clipboard
data class CloseActivity(val result: Pair<Int, NavigationBundle<*>?>? = null) : ComposableNavSpec.LaunchedNavigation
A LaunchedNavigation that closes the current android.app.Activity
Link copied to clipboard
data class Dialog(val tag: String? = null, val createDialog: () -> DialogFragment) : ComposableNavSpec.LaunchedNavigation
A LaunchedNavigation that shows a DialogFragment
Link copied to clipboard
data class IntentLauncher(val createIntent: @Composable Activity.() -> Intent?) : ComposableNavSpec.LaunchedNavigation
A LaunchedNavigation that navigates according to a given Intent
Link copied to clipboard
A ComposableNavSpec that launched into a new screen.
Link copied to clipboard
data class Launcher<ViewModel : BaseLifecycleViewModel, Input, Output>(val viewModelClass: KClass<ViewModel>, val activityResultContract: ActivityResultContract<Input, Output>, val getInput: @Composable () -> Input?, val onResult: ViewModel.(Output) -> Unit) : ComposableNavSpec.LaunchedNavigation
A LaunchedNavigation that navigates using an ActivityResultLauncher and a valid input.