NavEvent

sealed interface NavEvent : CircuitUiEvent(source)

A sealed navigation interface intended to be used when making a navigation callback.

Inheritors

Types

Link copied to clipboard
data class GoTo(val screen: Screen) : NavEvent

Corresponds to Navigator.goTo.

Link copied to clipboard
data class Pop(val result: PopResult? = null) : NavEvent

Corresponds to Navigator.pop.

Link copied to clipboard
data class ResetRoot(val newRoot: Screen, val saveState: Boolean, val restoreState: Boolean) : NavEvent

Corresponds to Navigator.resetRoot.