setNavController

abstract fun setNavController(controller: NavController)

Function to set a NavController to the component

Parameters

controller

the NavController to be set