libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/NavigationViewModel.java
@Override
  public void onProgressChange(Location location, RouteProgress routeProgress) {
    this.routeProgress = routeProgress;
    instructionModel.setValue(new InstructionModel(getApplication(), routeProgress, locale, unitType));
    summaryModel.setValue(new SummaryModel(getApplication(), routeProgress, locale, unitType));
    navigationLocation.setValue(location);
  }
/**
   * Listener used to update the location on screen
   * and the data in the top / bottom views of the drop-in UI.
   * <p>
   * Added to {@link com.mapbox.services.android.navigation.v5.navigation.MapboxNavigation}.
   *
   * @param location      modified to snap to the route being driven
   * @param routeProgress used to create new models for our top / bottom views
   * @since 0.6.0
   */
Listener used to update the location on screen
and the data in the top / bottom views of the drop-in UI.

@param location      modified to snap to the route being driven
@param routeProgress used to create new models for our top / bottom views
@since 0.6.0
Listener used to update the location on screen and the data in the top / bottom views of the drop - in UI . @param location modified to snap to the route being driven @param routeProgress used to create new models for our top / bottom views @since 0 . 6 . 0
@Override
  public void onProgressChange(Location location, RouteProgress routeProgress) {
    this.routeProgress = routeProgress;
    instructionModel.setValue(new InstructionModel(getApplication(), routeProgress, locale, unitType));
    summaryModel.setValue(new SummaryModel(getApplication(), routeProgress, locale, unitType));
    navigationLocation.setValue(location);
  }
@ Override public void onProgressChange ( Location location , RouteProgress routeProgress ) { this . routeProgress = routeProgress ; instructionModel . setValue ( new InstructionModel ( getApplication ( ) , routeProgress , locale , unitType ) ) ; summaryModel . setValue ( new SummaryModel ( getApplication ( ) , routeProgress , locale , unitType ) ) ; navigationLocation . setValue ( location ) ; }
Listener used to update the location on screen
 and the data in the top / bottom views of the drop-in UI.
Listener used to update the location on screen and the data in the top / bottom views of the drop - in UI .