libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/InstructionView.java
@SuppressWarnings("UnusedDeclaration")
  public void update(RouteProgress routeProgress) {
    if (routeProgress != null && !isRerouting) {
      locale = LocaleUtils.getNonNullLocale(getContext(), locale);
      InstructionModel model =
        new InstructionModel(getContext(), routeProgress, locale, unitType);
      updateViews(model);
      updateTextInstruction(model);
    }
  }
/**
   * Called in {@link ProgressChangeListener}, creates a new model and then
   * uses it to update the views.
   *
   * @param routeProgress used to provide navigation / routeProgress data
   * @since 0.6.2
   */
Called in  ProgressChangeListener, creates a new model and then
uses it to update the views.

@param routeProgress used to provide navigation / routeProgress data
@since 0.6.2
Called in ProgressChangeListener creates a new model and then uses it to update the views . @param routeProgress used to provide navigation / routeProgress data @since 0 . 6 . 2
@SuppressWarnings("UnusedDeclaration")
  public void update(RouteProgress routeProgress) {
    if (routeProgress != null && !isRerouting) {
      locale = LocaleUtils.getNonNullLocale(getContext(), locale);
      InstructionModel model =
        new InstructionModel(getContext(), routeProgress, locale, unitType);
      updateViews(model);
      updateTextInstruction(model);
    }
  }
@ SuppressWarnings ( "UnusedDeclaration" ) public void update ( RouteProgress routeProgress ) { if ( routeProgress != null && ! isRerouting ) { locale = LocaleUtils . getNonNullLocale ( getContext ( ) , locale ) ; InstructionModel model = new InstructionModel ( getContext ( ) , routeProgress , locale , unitType ) ; updateViews ( model ) ; updateTextInstruction ( model ) ; } }
Called in {@link ProgressChangeListener}, creates a new model and then
 uses it to update the views.
Called in { @link ProgressChangeListener } creates a new model and then uses it to update the views .