libandroid-navigation/src/main/java/com/mapbox/services/android/navigation/v5/milestone/BannerInstructionMilestone.java
private boolean newRoute(RouteProgress routeProgress) {
    boolean newRoute = currentRoute == null || !currentRoute.equals(routeProgress.directionsRoute());
    currentRoute = routeProgress.directionsRoute();
    return newRoute;
  }
/**
   * Looks to see if we have a new route.
   *
   * @param routeProgress provides updated route information
   * @return true if new route, false if not
   */
Looks to see if we have a new route.
@param routeProgress provides updated route information
@return true if new route, false if not
Looks to see if we have a new route . @param routeProgress provides updated route information @return true if new route false if not
private boolean newRoute(RouteProgress routeProgress) {
    boolean newRoute = currentRoute == null || !currentRoute.equals(routeProgress.directionsRoute());
    currentRoute = routeProgress.directionsRoute();
    return newRoute;
  }
private boolean newRoute ( RouteProgress routeProgress ) { boolean newRoute = currentRoute == null || ! currentRoute . equals ( routeProgress . directionsRoute ( ) ) ; currentRoute = routeProgress . directionsRoute ( ) ; return newRoute ; }
Looks to see if we have a new route.
Looks to see if we have a new route .