Method OnExit
OnExit(NavController, NavDestination, Argument[])
Called when the screen is popped from a NavHost.
Declaration
protected virtual void OnExit(NavController controller, NavDestination destination, Argument[] args)
Parameters
Type | Name | Description |
---|---|---|
NavController | controller | The NavController that manages the navigation stack. |
NavDestination | destination | The NavDestination associated with this screen. |
Argument[] | args | The arguments associated with this screen. |
Remarks
This method is called before the screen is removed from the NavHost.