codelab-android-navigation icon indicating copy to clipboard operation
codelab-android-navigation copied to clipboard

Documentation question

Open peter-budo opened this issue 4 years ago • 1 comments

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

peter-budo avatar Mar 25 '20 17:03 peter-budo

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!

kaushiknsanji avatar Jun 22 '20 15:06 kaushiknsanji