Skip to content

Commit

Permalink
Fxinin Maui
Browse files Browse the repository at this point in the history
  • Loading branch information
Clifftech123 committed May 31, 2024
1 parent c425b6d commit ec2a296
Showing 1 changed file with 17 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -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}";
//}
}
}

0 comments on commit ec2a296

Please sign in to comment.