navigation/common/src/main/java/androidx/navigation/NavDestination.java
@SuppressWarnings("unchecked")
    public void navigate(@Nullable Bundle args, @Nullable NavOptions navOptions) {
        Bundle defaultArgs = getDefaultArguments();
        Bundle finalArgs = new Bundle();
        finalArgs.putAll(defaultArgs);
        if (args != null) {
            finalArgs.putAll(args);
        }
        mNavigator.navigate(this, finalArgs, navOptions);
    }
/**
     * Navigates to this destination.
     *
     * <p>Uses the {@link #getNavigator() configured navigator} to navigate to this destination.
     * Apps should not call this directly, instead use {@link NavController}'s navigation methods
     * to ensure consistent back stack tracking and behavior.</p>
     *
     * @param args arguments to the new destination
     * @param navOptions options for navigation
     */
Navigates to this destination.
Uses the  #getNavigator() configured navigator to navigate to this destination.
Apps should not call this directly, instead use  NavController's navigation methods
to ensure consistent back stack tracking and behavior.

@param args arguments to the new destination
@param navOptions options for navigation
Navigates to this destination . Uses the #getNavigator () configured navigator to navigate to this destination . Apps should not call this directly instead use NavController ' s navigation methods to ensure consistent back stack tracking and behavior . @param args arguments to the new destination @param navOptions options for navigation
@SuppressWarnings("unchecked")
    public void navigate(@Nullable Bundle args, @Nullable NavOptions navOptions) {
        Bundle defaultArgs = getDefaultArguments();
        Bundle finalArgs = new Bundle();
        finalArgs.putAll(defaultArgs);
        if (args != null) {
            finalArgs.putAll(args);
        }
        mNavigator.navigate(this, finalArgs, navOptions);
    }
@ SuppressWarnings ( "unchecked" ) public void navigate ( @ Nullable Bundle args , @ Nullable NavOptions navOptions ) { Bundle defaultArgs = getDefaultArguments ( ) ; Bundle finalArgs = new Bundle ( ) ; finalArgs . putAll ( defaultArgs ) ; if ( args != null ) { finalArgs . putAll ( args ) ; } mNavigator . navigate ( this , finalArgs , navOptions ) ; }
Navigates to this destination.
Navigates to this destination .