Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Version used: 2.2.0-alpha03
To aid with debugging, it would be really helpful if we implemented toString() on NavDestination and its subclasses:
- NavDestination would print the idName if it exists and id otherwise, followed by the label
- NavGraph would call super.toString() and output the start destination (the ID if we don't have the start destination in the nodes)
- FragmentNavigator.Destination would also print the class name
- ActivityNavigator.Destination would also print the class name
This wouldn't output all of the information in each destination (that would be too much), but it would be enough to identify the destination in your graph