From ec2a2963c1779df004b48fc0f08958faac9c1d35 Mon Sep 17 00:00:00 2001 From: Isaiah Clifford Opoku Date: Fri, 31 May 2024 13:27:41 +0000 Subject: [PATCH] Fxinin Maui --- .../CountryData.Sample.MAUI/MainPage.xaml.cs | 35 +++++++++---------- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml.cs b/sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml.cs index 2d53b19..1674cab 100644 --- a/sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml.cs +++ b/sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml.cs @@ -1,23 +1,22 @@ using CountryData.Sample.MAUI.ViewModels; -namespace CountryData.Sample.MAUI; - -public partial class MainPage : ContentPage +namespace CountryData.Sample.MAUI { - int count = 0; - - public MainPage(MainViewModel mainViewModel) - { - InitializeComponent(); - BindingContext = mainViewModel; - } - - //private void OnCounterClicked(object sender, EventArgs e) - //{ - // count++; - // CounterLabel.Text = $"Current count: {count}"; + public partial class MainPage : ContentPage + { + int count = 0; - // SemanticScreenReader.Announce(CounterLabel.Text); - //} -} + public MainPage(MainViewModel mainViewModel) + { + InitializeComponent(); + BindingContext = mainViewModel; + } + // Uncomment this method if you need it + //private void OnCounterClicked(object sender, EventArgs e) + //{ + // count++; + // CounterLabel.Text = $"Current count: {count}"; + //} + } +} \ No newline at end of file