38.5 Triggering a Navigation Action
Once the navigation controller has been found, a navigation action is triggered by calling the controller’s navigate() method and passing through the resource id of the action to be performed. For example:
controller.navigate(R.id.goToContactsList);
The id of the action is defined within the Attributes panel of the navigation graph editor when an action connection is selected.