Interface INavVisualController
Interface for a navigation visual controller. A navigation visual controller is responsible for setting up the visual elements of a navigation graph. This includes the bottom navigation bar, the app bar and the drawer.
Namespace: Unity.AppUI.Navigation
Assembly: solution.dll
Syntax
public interface INavVisualController
Methods
SetupAppBar(AppBar, NavDestination, NavController)
Setup the app bar.
Declaration
void SetupAppBar(AppBar appBar, NavDestination destination, NavController navController)
Parameters
Type | Name | Description |
---|---|---|
AppBar | appBar | The app bar to setup. |
NavDestination | destination | The destination to setup the app bar for. |
NavController | navController | The navigation controller. |
SetupBottomNavBar(BottomNavBar, NavDestination, NavController)
Setup the bottom navigation bar.
Declaration
void SetupBottomNavBar(BottomNavBar bottomNavBar, NavDestination destination, NavController navController)
Parameters
Type | Name | Description |
---|---|---|
BottomNavBar | bottomNavBar | The bottom navigation bar to setup. |
NavDestination | destination | The destination to setup the bottom navigation bar for. |
NavController | navController | The navigation controller. |
SetupDrawer(Drawer, NavDestination, NavController)
Setup the drawer.
Declaration
void SetupDrawer(Drawer drawer, NavDestination destination, NavController navController)
Parameters
Type | Name | Description |
---|---|---|
Drawer | drawer | The drawer to setup. |
NavDestination | destination | The destination to setup the drawer for. |
NavController | navController | The navigation controller. |