libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/NavigationViewModel.java
private void addNavigationListeners() {
    if (navigation != null) {
      navigation.addProgressChangeListener(this);
      navigation.addOffRouteListener(this);
      navigation.addMilestoneEventListener(this);
      navigation.addNavigationEventListener(this);
      navigation.addFasterRouteListener(this);
    }
  }
/**
   * Adds this class as a listener for progress,
   * milestones, and off route events.
   */
Adds this class as a listener for progress,
milestones, and off route events.
Adds this class as a listener for progress milestones and off route events .
private void addNavigationListeners() {
    if (navigation != null) {
      navigation.addProgressChangeListener(this);
      navigation.addOffRouteListener(this);
      navigation.addMilestoneEventListener(this);
      navigation.addNavigationEventListener(this);
      navigation.addFasterRouteListener(this);
    }
  }
private void addNavigationListeners ( ) { if ( navigation != null ) { navigation . addProgressChangeListener ( this ) ; navigation . addOffRouteListener ( this ) ; navigation . addMilestoneEventListener ( this ) ; navigation . addNavigationEventListener ( this ) ; navigation . addFasterRouteListener ( this ) ; } }
Adds this class as a listener for progress,
 milestones, and off route events.
Adds this class as a listener for progress milestones and off route events .