@Test public void setNavOptions() { NavAction action = new NavAction(DESTINATION_ID); NavOptions navOptions = new NavOptions.Builder().build(); action.setNavOptions(navOptions); assertThat(action.getNavOptions(), is(navOptions)); }
public void setNavOptions(@Nullable NavOptions navOptions) { mNavOptions = navOptions; }
NavAction { public void setNavOptions(@Nullable NavOptions navOptions) { mNavOptions = navOptions; } }
NavAction { public void setNavOptions(@Nullable NavOptions navOptions) { mNavOptions = navOptions; } NavAction(@IdRes int destinationId);  NavAction(@IdRes int destinationId, @Nullable NavOptions navOptions); }
NavAction { public void setNavOptions(@Nullable NavOptions navOptions) { mNavOptions = navOptions; } NavAction(@IdRes int destinationId);  NavAction(@IdRes int destinationId, @Nullable NavOptions navOptions); int getDestinationId(); void setNavOptions(@Nullable NavOptions navOptions); @Nullable NavOptions getNavOptions(); }
NavAction { public void setNavOptions(@Nullable NavOptions navOptions) { mNavOptions = navOptions; } NavAction(@IdRes int destinationId);  NavAction(@IdRes int destinationId, @Nullable NavOptions navOptions); int getDestinationId(); void setNavOptions(@Nullable NavOptions navOptions); @Nullable NavOptions getNavOptions();  }