Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

TestNavHostController

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
<init>(context: Context)

Subclass of NavHostController that offers additional APIs for testing Navigation.

Public methods
Unit
setCurrentDestination(@IdRes destId: Int, args: Bundle = Bundle())

Navigate directly to any destination on the current androidx.navigation.NavGraph via an explicit deep link.

Inherited functions