//[tvlib](../../../index.md)/[org.mjdev.tvlib.navigation](../index.md)/[NavHostControllerEx](index.md)
# NavHostControllerEx
[androidJvm]\
class [NavHostControllerEx](index.md)(context: [Context](https://developer.android.com/reference/kotlin/android/content/Context.html)) : [NavHostController](https://developer.android.com/reference/kotlin/androidx/navigation/NavHostController.html), [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html), [DefaultLifecycleObserver](https://developer.android.com/reference/kotlin/androidx/lifecycle/DefaultLifecycleObserver.html)
## Constructors
| | |
|---|---|
| [NavHostControllerEx](-nav-host-controller-ex.md) | [androidJvm]
constructor(context: [Context](https://developer.android.com/reference/kotlin/android/content/Context.html)) |
## Functions
| Name | Summary |
|---|---|
| [addMenuClickListener](add-menu-click-listener.md) | [androidJvm]
fun [addMenuClickListener](add-menu-click-listener.md)(vararg listener: [MenuItemClickListener](../-menu-item-click-listener/index.md)) |
| [addMenuItem](add-menu-item.md) | [androidJvm]
fun [addMenuItem](add-menu-item.md)(vararg item: [MenuItem](../-menu-item/index.md)) |
| [addOnDestinationChangedListener](index.md#-244783732%2FFunctions%2F-1596939238) | [androidJvm]
open fun [addOnDestinationChangedListener](index.md#-244783732%2FFunctions%2F-1596939238)(listener: [NavController.OnDestinationChangedListener](https://developer.android.com/reference/kotlin/androidx/navigation/NavController.OnDestinationChangedListener.html)) |
| [addUniqueMenuItem](add-unique-menu-item.md) | [androidJvm]
fun [addUniqueMenuItem](add-unique-menu-item.md)(item: [MenuItem](../-menu-item/index.md)) |
| [clearBackStack](index.md#-1378413407%2FFunctions%2F-1596939238) | [androidJvm]
fun [clearBackStack](index.md#-1378413407%2FFunctions%2F-1596939238)(destinationId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
fun [clearBackStack](index.md#1796371233%2FFunctions%2F-1596939238)(route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [clearClickListeners](clear-click-listeners.md) | [androidJvm]
fun [clearClickListeners](clear-click-listeners.md)() |
| [clearMenuItems](clear-menu-items.md) | [androidJvm]
fun [clearMenuItems](clear-menu-items.md)() |
| [closeMenu](close-menu.md) | [androidJvm]
fun [closeMenu](close-menu.md)() |
| [closeSettings](close-settings.md) | [androidJvm]
fun [closeSettings](close-settings.md)() |
| [createDeepLink](index.md#992977013%2FFunctions%2F-1596939238) | [androidJvm]
open fun [createDeepLink](index.md#992977013%2FFunctions%2F-1596939238)(): [NavDeepLinkBuilder](https://developer.android.com/reference/kotlin/androidx/navigation/NavDeepLinkBuilder.html) |
| [createGraph](../../org.mjdev.tvlib.extensions/-nav-ext/create-graph.md) | [androidJvm]
inline fun [NavHostControllerEx](index.md).[createGraph](../../org.mjdev.tvlib.extensions/-nav-ext/create-graph.md)(navController: [NavHostControllerEx](index.md), route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, startRoute: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? = null, builder: [NavGraphBuilderEx](../-nav-graph-builder-ex/index.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)): [NavGraph](https://developer.android.com/reference/kotlin/androidx/navigation/NavGraph.html) |
| [enableOnBackPressed](index.md#-733006361%2FFunctions%2F-1596939238) | [androidJvm]
override fun [enableOnBackPressed](index.md#-733006361%2FFunctions%2F-1596939238)(enabled: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)) |
| [equals](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#585090901%2FFunctions%2F-1596939238) | [androidJvm]
open operator fun [equals](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#585090901%2FFunctions%2F-1596939238)(other: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [findDestination](index.md#-2026995316%2FFunctions%2F-1596939238) | [androidJvm]
fun [findDestination](index.md#-2026995316%2FFunctions%2F-1596939238)(destinationId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [NavDestination](https://developer.android.com/reference/kotlin/androidx/navigation/NavDestination.html)?
fun [findDestination](index.md#-1344382378%2FFunctions%2F-1596939238)(route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [NavDestination](https://developer.android.com/reference/kotlin/androidx/navigation/NavDestination.html)? |
| [forEachMenuItem](for-each-menu-item.md) | [androidJvm]
@[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)
fun [forEachMenuItem](for-each-menu-item.md)(block: @[Composable](https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable.html)(index: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), menuItem: [MenuItem](../-menu-item/index.md)) -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)) |
| [getBackStackEntry](index.md#569687898%2FFunctions%2F-1596939238) | [androidJvm]
open fun [getBackStackEntry](index.md#569687898%2FFunctions%2F-1596939238)(destinationId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [NavBackStackEntry](https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry.html)
fun [getBackStackEntry](index.md#-210722360%2FFunctions%2F-1596939238)(route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)): [NavBackStackEntry](https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry.html) |
| [getViewModelStoreOwner](index.md#-1031401611%2FFunctions%2F-1596939238) | [androidJvm]
open fun [getViewModelStoreOwner](index.md#-1031401611%2FFunctions%2F-1596939238)(navGraphId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [ViewModelStoreOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelStoreOwner.html) |
| [handleDeepLink](index.md#-743002006%2FFunctions%2F-1596939238) | [androidJvm]
open fun [handleDeepLink](index.md#-743002006%2FFunctions%2F-1596939238)(intent: [Intent](https://developer.android.com/reference/kotlin/android/content/Intent.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [hashCode](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#1794629105%2FFunctions%2F-1596939238) | [androidJvm]
open fun [hashCode](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#1794629105%2FFunctions%2F-1596939238)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) |
| [indexOfMenuItem](index-of-menu-item.md) | [androidJvm]
fun [indexOfMenuItem](index-of-menu-item.md)(item: [MenuItem](../-menu-item/index.md)): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) |
| [launchWhenStateAtLeast](../../org.mjdev.tvlib.events.util/launch-when-state-at-least.md) | [androidJvm]
fun <[T](../../org.mjdev.tvlib.events.util/launch-when-state-at-least.md)> [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html).[launchWhenStateAtLeast](../../org.mjdev.tvlib.events.util/launch-when-state-at-least.md)(minState: [Lifecycle.State](https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.State.html), block: suspend CoroutineScope.() -> [T](../../org.mjdev.tvlib.events.util/launch-when-state-at-least.md)): Job |
| [menuItem](menu-item.md) | [androidJvm]
fun [menuItem](menu-item.md)(id: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)): [MenuItem](../-menu-item/index.md) |
| [navigate](index.md#-1206503040%2FFunctions%2F-1596939238) | [androidJvm]
open fun [navigate](index.md#-1206503040%2FFunctions%2F-1596939238)(deepLink: [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html))
open fun [navigate](index.md#1898939243%2FFunctions%2F-1596939238)(request: [NavDeepLinkRequest](https://developer.android.com/reference/kotlin/androidx/navigation/NavDeepLinkRequest.html))
open fun [navigate](index.md#1336586426%2FFunctions%2F-1596939238)(directions: [NavDirections](https://developer.android.com/reference/kotlin/androidx/navigation/NavDirections.html))
open fun [navigate](index.md#1566161828%2FFunctions%2F-1596939238)(resId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))
open fun [navigate](index.md#-1293799884%2FFunctions%2F-1596939238)(deepLink: [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html), navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)?)
open fun [navigate](index.md#-777974753%2FFunctions%2F-1596939238)(request: [NavDeepLinkRequest](https://developer.android.com/reference/kotlin/androidx/navigation/NavDeepLinkRequest.html), navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)?)
open fun [navigate](index.md#-977584786%2FFunctions%2F-1596939238)(directions: [NavDirections](https://developer.android.com/reference/kotlin/androidx/navigation/NavDirections.html), navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)?)
open fun [navigate](index.md#1762503670%2FFunctions%2F-1596939238)(directions: [NavDirections](https://developer.android.com/reference/kotlin/androidx/navigation/NavDirections.html), navigatorExtras: [Navigator.Extras](https://developer.android.com/reference/kotlin/androidx/navigation/Navigator.Extras.html))
open fun [navigate](index.md#-1460340247%2FFunctions%2F-1596939238)(resId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), args: [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html)?)
fun [navigate](index.md#1215677829%2FFunctions%2F-1596939238)(route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), builder: [NavOptionsBuilder](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptionsBuilder.html).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html))
open fun [navigate](index.md#2069396391%2FFunctions%2F-1596939238)(deepLink: [Uri](https://developer.android.com/reference/kotlin/android/net/Uri.html), navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)?, navigatorExtras: [Navigator.Extras](https://developer.android.com/reference/kotlin/androidx/navigation/Navigator.Extras.html)?)
open fun [navigate](index.md#-185822894%2FFunctions%2F-1596939238)(request: [NavDeepLinkRequest](https://developer.android.com/reference/kotlin/androidx/navigation/NavDeepLinkRequest.html), navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)?, navigatorExtras: [Navigator.Extras](https://developer.android.com/reference/kotlin/androidx/navigation/Navigator.Extras.html)?)
open fun [navigate](index.md#373099165%2FFunctions%2F-1596939238)(resId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), args: [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html)?, navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)?)
fun [navigate](index.md#1867371749%2FFunctions%2F-1596939238)(route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)?, navigatorExtras: [Navigator.Extras](https://developer.android.com/reference/kotlin/androidx/navigation/Navigator.Extras.html)?)
open fun [navigate](index.md#-787234480%2FFunctions%2F-1596939238)(resId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), args: [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html)?, navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)?, navigatorExtras: [Navigator.Extras](https://developer.android.com/reference/kotlin/androidx/navigation/Navigator.Extras.html)?) |
| [navigate](../../org.mjdev.tvlib.extensions/-nav-controller-ext/navigate.md) | [androidJvm]
fun [NavController](https://developer.android.com/reference/kotlin/androidx/navigation/NavController.html).[navigate](../../org.mjdev.tvlib.extensions/-nav-controller-ext/navigate.md)(route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), args: [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html), navOptions: [NavOptions](https://developer.android.com/reference/kotlin/androidx/navigation/NavOptions.html)? = null, navigatorExtras: [Navigator.Extras](https://developer.android.com/reference/kotlin/androidx/navigation/Navigator.Extras.html)? = null) |
| [navigateUp](index.md#848957675%2FFunctions%2F-1596939238) | [androidJvm]
open fun [navigateUp](index.md#848957675%2FFunctions%2F-1596939238)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [observeEvent](../../org.mjdev.tvlib.events.observe/observe-event.md) | [androidJvm]
@[MainThread](https://developer.android.com/reference/kotlin/androidx/annotation/MainThread.html)
inline fun <[T](../../org.mjdev.tvlib.events.observe/observe-event.md)> [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html).[observeEvent](../../org.mjdev.tvlib.events.observe/observe-event.md)(dispatcher: CoroutineDispatcher = Dispatchers.Main.immediate, minActiveState: [Lifecycle.State](https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.State.html) = Lifecycle.State.STARTED, isSticky: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) = false, noinline onReceived: ([T](../../org.mjdev.tvlib.events.observe/observe-event.md)) -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)): Job |
| [onCreate](index.md#139941652%2FFunctions%2F-1596939238) | [androidJvm]
open fun [onCreate](index.md#139941652%2FFunctions%2F-1596939238)(owner: [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html)) |
| [onDestroy](on-destroy.md) | [androidJvm]
open override fun [onDestroy](on-destroy.md)(owner: [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html)) |
| [onMenuItemClick](on-menu-item-click.md) | [androidJvm]
fun [onMenuItemClick](on-menu-item-click.md)(item: [MenuItem](../-menu-item/index.md)) |
| [onPause](index.md#187777572%2FFunctions%2F-1596939238) | [androidJvm]
open fun [onPause](index.md#187777572%2FFunctions%2F-1596939238)(owner: [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html)) |
| [onResume](index.md#-1807945979%2FFunctions%2F-1596939238) | [androidJvm]
open fun [onResume](index.md#-1807945979%2FFunctions%2F-1596939238)(owner: [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html)) |
| [onStart](index.md#1240777104%2FFunctions%2F-1596939238) | [androidJvm]
open fun [onStart](index.md#1240777104%2FFunctions%2F-1596939238)(owner: [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html)) |
| [onStop](index.md#487071706%2FFunctions%2F-1596939238) | [androidJvm]
open fun [onStop](index.md#487071706%2FFunctions%2F-1596939238)(owner: [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html)) |
| [open](../../org.mjdev.tvlib.extensions/-nav-controller-ext/open.md) | [androidJvm]
@[MainThread](https://developer.android.com/reference/kotlin/androidx/annotation/MainThread.html)
inline fun <[T](../../org.mjdev.tvlib.extensions/-nav-controller-ext/open.md) : [Screen](../../org.mjdev.tvlib.screen/-screen/index.md)> [NavHostController](https://developer.android.com/reference/kotlin/androidx/navigation/NavHostController.html).[open](../../org.mjdev.tvlib.extensions/-nav-controller-ext/open.md)(vararg values: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?)
@[MainThread](https://developer.android.com/reference/kotlin/androidx/annotation/MainThread.html)
fun [NavHostController](https://developer.android.com/reference/kotlin/androidx/navigation/NavHostController.html).[open](../../org.mjdev.tvlib.extensions/-nav-controller-ext/open.md)(route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)?) |
| [openAsTop](../../org.mjdev.tvlib.extensions/-nav-controller-ext/open-as-top.md) | [androidJvm]
@[MainThread](https://developer.android.com/reference/kotlin/androidx/annotation/MainThread.html)
inline fun <[T](../../org.mjdev.tvlib.extensions/-nav-controller-ext/open-as-top.md) : [Screen](../../org.mjdev.tvlib.screen/-screen/index.md)> [NavHostController](https://developer.android.com/reference/kotlin/androidx/navigation/NavHostController.html).[openAsTop](../../org.mjdev.tvlib.extensions/-nav-controller-ext/open-as-top.md)(vararg values: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?) |
| [openMenu](open-menu.md) | [androidJvm]
fun [openMenu](open-menu.md)() |
| [openSettings](open-settings.md) | [androidJvm]
fun [openSettings](open-settings.md)() |
| [popBackStack](index.md#-14136249%2FFunctions%2F-1596939238) | [androidJvm]
open fun [popBackStack](index.md#-14136249%2FFunctions%2F-1596939238)(): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
open fun [popBackStack](index.md#1379380159%2FFunctions%2F-1596939238)(destinationId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), inclusive: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
open fun [popBackStack](index.md#-1253174811%2FFunctions%2F-1596939238)(destinationId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), inclusive: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), saveState: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
fun [popBackStack](index.md#198895325%2FFunctions%2F-1596939238)(route: [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), inclusive: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html), saveState: [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
| [removeMenuClickListener](remove-menu-click-listener.md) | [androidJvm]
fun [removeMenuClickListener](remove-menu-click-listener.md)(vararg listener: [MenuItemClickListener](../-menu-item-click-listener/index.md)) |
| [removeMenuItem](remove-menu-item.md) | [androidJvm]
fun [removeMenuItem](remove-menu-item.md)(vararg item: [MenuItem](../-menu-item/index.md)) |
| [removeOnDestinationChangedListener](index.md#-1354530115%2FFunctions%2F-1596939238) | [androidJvm]
open fun [removeOnDestinationChangedListener](index.md#-1354530115%2FFunctions%2F-1596939238)(listener: [NavController.OnDestinationChangedListener](https://developer.android.com/reference/kotlin/androidx/navigation/NavController.OnDestinationChangedListener.html)) |
| [restoreState](index.md#560880098%2FFunctions%2F-1596939238) | [androidJvm]
open fun [restoreState](index.md#560880098%2FFunctions%2F-1596939238)(navState: [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html)?) |
| [saveState](index.md#800590415%2FFunctions%2F-1596939238) | [androidJvm]
open fun [saveState](index.md#800590415%2FFunctions%2F-1596939238)(): [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html)? |
| [setBackground](set-background.md) | [androidJvm]
fun [setBackground](set-background.md)(drawable: [Drawable](https://developer.android.com/reference/kotlin/android/graphics/drawable/Drawable.html))
fun [setBackground](set-background.md)(color: [Color](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color.html))
fun [setBackground](set-background.md)(imageVector: [ImageVector](https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/vector/ImageVector.html)) |
| [setGraph](index.md#-81501911%2FFunctions%2F-1596939238) | [androidJvm]
open fun [setGraph](index.md#-81501911%2FFunctions%2F-1596939238)(graphResId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html))
open fun [setGraph](index.md#-2070237438%2FFunctions%2F-1596939238)(graph: [NavGraph](https://developer.android.com/reference/kotlin/androidx/navigation/NavGraph.html), startDestinationArgs: [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html)?)
open fun [setGraph](index.md#-1188391868%2FFunctions%2F-1596939238)(graphResId: [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html), startDestinationArgs: [Bundle](https://developer.android.com/reference/kotlin/android/os/Bundle.html)?) |
| [setLifecycleOwner](index.md#738177088%2FFunctions%2F-1596939238) | [androidJvm]
override fun [setLifecycleOwner](index.md#738177088%2FFunctions%2F-1596939238)(owner: [LifecycleOwner](https://developer.android.com/reference/kotlin/androidx/lifecycle/LifecycleOwner.html)) |
| [setOnBackPressedDispatcher](index.md#563987131%2FFunctions%2F-1596939238) | [androidJvm]
override fun [setOnBackPressedDispatcher](index.md#563987131%2FFunctions%2F-1596939238)(dispatcher: [OnBackPressedDispatcher](https://developer.android.com/reference/kotlin/androidx/activity/OnBackPressedDispatcher.html)) |
| [setViewModelStore](index.md#-1229291328%2FFunctions%2F-1596939238) | [androidJvm]
override fun [setViewModelStore](index.md#-1229291328%2FFunctions%2F-1596939238)(viewModelStore: [ViewModelStore](https://developer.android.com/reference/kotlin/androidx/lifecycle/ViewModelStore.html)) |
| [startActivity](start-activity.md) | [androidJvm]
inline fun <[T](start-activity.md) : [Activity](https://developer.android.com/reference/kotlin/android/app/Activity.html)> [startActivity](start-activity.md)(vararg params: [Pair](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/index.html)<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html), [Serializable](https://developer.android.com/reference/kotlin/java/io/Serializable.html)?>) |
| [toString](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#1616463040%2FFunctions%2F-1596939238) | [androidJvm]
open fun [toString](../../org.mjdev.tvlib.webscrapper.select/-element-not-found-exception/index.md#1616463040%2FFunctions%2F-1596939238)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html) |
## Properties
| Name | Summary |
|---|---|
| [backgroundState](background-state.md) | [androidJvm]
val [backgroundState](background-state.md): [MutableState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState.html)<[Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?> |
| [context](index.md#201077652%2FProperties%2F-1596939238) | [androidJvm]
val [context](index.md#201077652%2FProperties%2F-1596939238): [Context](https://developer.android.com/reference/kotlin/android/content/Context.html) |
| [currentBackStack](index.md#-366907281%2FProperties%2F-1596939238) | [androidJvm]
val [currentBackStack](index.md#-366907281%2FProperties%2F-1596939238): StateFlow<[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[NavBackStackEntry](https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry.html)>> |
| [currentBackStackEntry](index.md#1593015865%2FProperties%2F-1596939238) | [androidJvm]
open val [currentBackStackEntry](index.md#1593015865%2FProperties%2F-1596939238): [NavBackStackEntry](https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry.html)? |
| [currentBackStackEntryFlow](index.md#-92447061%2FProperties%2F-1596939238) | [androidJvm]
val [currentBackStackEntryFlow](index.md#-92447061%2FProperties%2F-1596939238): Flow<[NavBackStackEntry](https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry.html)> |
| [currentDestination](index.md#2050571810%2FProperties%2F-1596939238) | [androidJvm]
open val [currentDestination](index.md#2050571810%2FProperties%2F-1596939238): [NavDestination](https://developer.android.com/reference/kotlin/androidx/navigation/NavDestination.html)? |
| [currentRoute](../../org.mjdev.tvlib.extensions/-nav-controller-ext/current-route.md) | [androidJvm]
val [NavHostController](https://developer.android.com/reference/kotlin/androidx/navigation/NavHostController.html).[currentRoute](../../org.mjdev.tvlib.extensions/-nav-controller-ext/current-route.md): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)? |
| [graph](index.md#-273671595%2FProperties%2F-1596939238) | [androidJvm]
open var [graph](index.md#-273671595%2FProperties%2F-1596939238): [NavGraph](https://developer.android.com/reference/kotlin/androidx/navigation/NavGraph.html) |
| [lifecycle](lifecycle.md) | [androidJvm]
open override val [lifecycle](lifecycle.md): [Lifecycle](https://developer.android.com/reference/kotlin/androidx/lifecycle/Lifecycle.html) |
| [menuClickListeners](menu-click-listeners.md) | [androidJvm]
val [menuClickListeners](menu-click-listeners.md): [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)<[MenuItemClickListener](../-menu-item-click-listener/index.md)> |
| [menuDrawerState](menu-drawer-state.md) | [androidJvm]
val [menuDrawerState](menu-drawer-state.md): [DrawerState](https://developer.android.com/reference/kotlin/androidx/tv/material3/DrawerState.html) |
| [menuItems](menu-items.md) | [androidJvm]
val [menuItems](menu-items.md): [SnapshotStateList](https://developer.android.com/reference/kotlin/androidx/compose/runtime/snapshots/SnapshotStateList.html)<[MenuItem](../-menu-item/index.md)> |
| [menuState](menu-state.md) | [androidJvm]
val [menuState](menu-state.md): [MutableState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableState.html)<[Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)> |
| [navigatorProvider](index.md#-860850565%2FProperties%2F-1596939238) | [androidJvm]
open var [navigatorProvider](index.md#-860850565%2FProperties%2F-1596939238): [NavigatorProvider](https://developer.android.com/reference/kotlin/androidx/navigation/NavigatorProvider.html) |
| [navInflater](index.md#-348174955%2FProperties%2F-1596939238) | [androidJvm]
open val [navInflater](index.md#-348174955%2FProperties%2F-1596939238): [NavInflater](https://developer.android.com/reference/kotlin/androidx/navigation/NavInflater.html) |
| [previousBackStackEntry](index.md#1252066159%2FProperties%2F-1596939238) | [androidJvm]
open val [previousBackStackEntry](index.md#1252066159%2FProperties%2F-1596939238): [NavBackStackEntry](https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry.html)? |
| [selectedMenuItem](selected-menu-item.md) | [androidJvm]
val [selectedMenuItem](selected-menu-item.md): [MutableIntState](https://developer.android.com/reference/kotlin/androidx/compose/runtime/MutableIntState.html) |
| [settingsDrawerState](settings-drawer-state.md) | [androidJvm]
val [settingsDrawerState](settings-drawer-state.md): [DrawerState](https://developer.android.com/reference/kotlin/androidx/tv/material3/DrawerState.html) |
| [visibleEntries](index.md#-23554983%2FProperties%2F-1596939238) | [androidJvm]
val [visibleEntries](index.md#-23554983%2FProperties%2F-1596939238): StateFlow<[List](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-list/index.html)<[NavBackStackEntry](https://developer.android.com/reference/kotlin/androidx/navigation/NavBackStackEntry.html)>> |