forked from frankodoom/CountryData.Net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c425b6d
commit ec2a296
Showing
1 changed file
with
17 additions
and
18 deletions.
There are no files selected for viewing
35 changes: 17 additions & 18 deletions
35
sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}"; | ||
//} | ||
} | ||
} |