From 5ecbaa9e219dd33fa32c1a5ad6b00837a855c8b9 Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 21 Nov 2025 14:14:48 -0500 Subject: [PATCH] Add EconomicIndicators --- Navigator/ViewModels/ItemsViewModel.cs | 6 ++++++ 1 file changed, 6 insertions(+) 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");