Dialog

data class Dialog(val tag: String? = null, val createDialog: () -> DialogFragment) : ComposableNavSpec.LaunchedNavigation

A LaunchedNavigation that shows a DialogFragment

Constructors

Link copied to clipboard
constructor(tag: String? = null, createDialog: () -> DialogFragment)

Properties

Link copied to clipboard

Function to create the DialogFragment to display

Link copied to clipboard
val tag: String? = null

Optional tag to add to the Dialog

Functions

Link copied to clipboard
fun Launch(viewModel: BaseLifecycleViewModel, onDispose: () -> Unit)

Launch this LaunchedNavigation for a given viewModel.