TestNavHostController
Kotlin
|Java
class TestNavHostController : NavHostController
kotlin.Any | |||
↳ | androidx.navigation.NavController | ||
↳ | androidx.navigation.NavHostController | ||
↳ | androidx.navigation.testing.TestNavHostController |
Subclass of NavHostController that offers additional APIs for testing Navigation.
Summary
Inherited constants | |
---|---|
Public constructors | |
---|---|
Subclass of NavHostController that offers additional APIs for testing Navigation. |
Public methods | |
---|---|
Unit |
setCurrentDestination(@IdRes : Int, : Bundle = Bundle()) Navigate directly to any destination on the current androidx.navigation.NavGraph via an explicit deep link. |
Inherited functions | |
---|---|