class NavigationFasterRouteListener implements RouteListener {

  @Override
  public void onResponseReceived(DirectionsResponse response, @Nullable RouteProgress routeProgress) {
    if (fasterRouteEngine.isFasterRoute(response, routeProgress)) {
      eventDispatcher.onFasterRouteEvent(response.routes().get(FIRST_ROUTE));
    }
  }

    NavigationFasterRouteListener(NavigationEventDispatcher eventDispatcher, FasterRoute fasterRouteEngine);

}