codelab-android-navigation
codelab-android-navigation copied to clipboard
Documentation question
In the code lab section 7 (https://codelabs.developers.google.com/codelabs/android-navigation/#6) notice bellow first code snippet says
The actions are nested within the destination - this is the destination you will navigate from
wouldn't be correct to say
The actions are nested within the fragment - this is the destination you will navigate from
Since a destination can either be an Activity or a Fragment, they used the keyword "destination" in the sentence in order to refer to both in general. Hope this helps!