get Controller

fun getController(): NavController

method to get androidx.navigation.NavController from the Host Activity

Return

navController from Activity

Sources

Link copied to clipboard