private void ShowVehicleOnMap(RouteStopForecastViewModel routeStopForecastViewModel) { _userInteraction.Confirm( AppResources.show_vehicle_on_map_confirm_format, () => _messenger.Publish(new ShowVehicleForecastOnMapMessage(this, routeStopForecastViewModel.VehicleId)), string.Empty, AppResources.yes, AppResources.no); }
private void UpdateFromForecastItem(RouteStopForecastViewModel vm, RouteStopForecastItem item) { vm.ArrivesInSeconds = item.ArrivesInSeconds; vm.CurrentlyAt = item.CurrentRouteStopName; }