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)
Unintended behavior
View staffing
Description
#1Component used: Navigation Version used: 2.3.5
It is often convenient to specify default argument values in an action , for example when multiple actions point to the same destination.
Sometimes we only specify values for some arguments:
We then would like to call it like this:
FirstFragmentDirections.goToSecond("one!")
.But unfortunately, SafeArgs generates code with parameters in the wrong order:
argTwo
(with default value), thenargOne
. See attached project.I suppose better options would be to: