NavigationNode
Wrapper of FonamentContent.invoke that receives a FonamentNavigationEventHandler and the uiState and contentState. You can use this function to create a navigation entry node in your navigation graph.
Parameters
The type of navigation event to handle, must implement FonamentNavigationEvent.
The type of UI state, must implement FonamentUIState.
The type of content state, must implement FonamentContentState.
The handler for navigation events of type N. Defaults to a no-op handler.
The UI state of type U.
The content state of type C.
Wrapper of FonamentStatelessContent.invoke that receives a FonamentNavigationEventHandler. You can use this function to create a navigation entry node in your navigation graph.
Parameters
The type of navigation event to handle, must implement FonamentNavigationEvent.
The handler for navigation events of type N. Defaults to a no-op handler.
Wrapper of FonamentUI.invoke that receives a FonamentNavigationEventHandler and a viewModel. You can use this function to create a navigation entry node in your navigation graph.
Parameters
The type of navigation event to handle, must implement FonamentNavigationEvent.
The type of UI state, must implement FonamentUIState.
The handler for navigation events of type N. Defaults to a no-op handler.
The FonamentViewModel providing the UI state of type U.