FonamentContent
Defines the content of some UI Node.
Samples
dev.sergiobelda.fonament.samples.SampleContentPreviewInheritors
Functions
Link copied to clipboard
Link copied to clipboard
inline fun <N : FonamentNavigationEvent, U : FonamentUIState, C : FonamentContentState> FonamentContent<U, C>.NavigationNode(uiState: U, contentState: C, navigationEventHandler: FonamentNavigationEventHandler<N> = FonamentNavigationEventHandler { })
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.