public StopChangePage(List <StopChange> stopChanges, RouteSearchDelayService routeSearchDelayService) { InitializeComponent(); _routeSearchDelayService = routeSearchDelayService; Items = new ObservableCollection <StopChange>(stopChanges); MyListView.ItemsSource = Items; }
public ChangePage(List <Change> changes, RouteSearchDelayService routeSearchDelayService) { _routeSearchDelayService = routeSearchDelayService; InitializeComponent(); Items = new ObservableCollection <Change>(changes); MyListView.ItemsSource = Items; }
public RoutesPage(List <Route> routeList) { InitializeComponent(); Items = new ObservableCollection <Route>(routeList); _routeSearchDelayService = new RouteSearchDelayService(); MyListView.ItemsSource = Items; }