diff --git a/Navigator/ViewModels/ItemsViewModel.cs b/Navigator/ViewModels/ItemsViewModel.cs index 6fdd7dd..35d5d89 100644 --- a/Navigator/ViewModels/ItemsViewModel.cs +++ b/Navigator/ViewModels/ItemsViewModel.cs @@ -40,6 +40,7 @@ namespace Navigator.ViewModels new CommandViewModel("Headlines",new RelayCommand(ParamArrayAttribute=>this.ViewHeadlines(navigation))), new CommandViewModel("View Bollinger Bands",new RelayCommand(ParamArrayAttribute=>this.ViewBollingerBands(navigation))), new CommandViewModel("View Consumer Price Index",new RelayCommand(ParamArrayAttribute=>this.ViewConsumerPriceIndex(navigation))), + new CommandViewModel("View Economic Indicators",new RelayCommand(ParamArrayAttribute=>this.ViewEconomicIndicators(navigation))), new CommandViewModel("Company Profile",new RelayCommand(ParamArrayAttribute=>this.ViewCompanyProfile(navigation))) }; } @@ -74,6 +75,11 @@ namespace Navigator.ViewModels Debug.WriteLine("ViewConsumerPriceIndex"); navigation.PushAsync(new ConsumerPriceIndexPage()); } + private void ViewEconomicIndicators(INavigation navigation) + { + Debug.WriteLine("ViewEconomicIndicators"); + navigation.PushAsync(new EconomicIndicatorsPage()); + } private void ViewCompanyProfile(INavigation navigation) { Debug.WriteLine("ViewCompanyProfile");