Class

DialogNavigator

Navigator that navigates through Composables that will be hosted within a Dialog.

Source set: Common
public class DialogNavigator() : Navigator<Destination>(NAME)

Navigator that navigates through Composables that will be hosted within a Dialog. Every destination using this Navigator must set a valid Composable by setting it directly on an instantiated Destination or calling dialog.

Functions

Source set: Common
override fun navigate(
        entries: List<NavBackStackEntry>,
        navOptions: NavOptions?,
        navigatorExtras: Extras?,
    )

createDestination

Source set: Common
override fun createDestination(): Destination

popBackStack

Source set: Common
override fun popBackStack(popUpTo: NavBackStackEntry, savedState: Boolean)

Members

Destination

Source set: Common
public class Destination(
        navigator: DialogNavigator,
        internal val dialogProperties: DialogProperties = DialogProperties(),
        internal val content: @Composable (NavBackStackEntry) -> Unit,
    ) : NavDestination(navigator), FloatingWindow

NavDestination specific to DialogNavigator

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: