libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/instruction/InstructionView.java
private void updateDistanceText(InstructionModel model) {
    if (newDistanceText(model)) {
      distanceText(model);
    } else if (upcomingDistanceText.getText().toString().isEmpty()) {
      distanceText(model);
    }
  }
/**
   * Looks to see if we have a new distance text.
   * Sets new distance text if found.
   *
   * @param model provides distance text
   */
Looks to see if we have a new distance text.
Sets new distance text if found.

@param model provides distance text
Looks to see if we have a new distance text . Sets new distance text if found . @param model provides distance text
private void updateDistanceText(InstructionModel model) {
    if (newDistanceText(model)) {
      distanceText(model);
    } else if (upcomingDistanceText.getText().toString().isEmpty()) {
      distanceText(model);
    }
  }
private void updateDistanceText ( InstructionModel model ) { if ( newDistanceText ( model ) ) { distanceText ( model ) ; } else if ( upcomingDistanceText . getText ( ) . toString ( ) . isEmpty ( ) ) { distanceText ( model ) ; } }
Looks to see if we have a new distance text.
Looks to see if we have a new distance text .