-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from Clifftech123/development
Development
- Loading branch information
Showing
10 changed files
with
311 additions
and
295 deletions.
There are no files selected for viewing
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
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
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
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
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; | ||
Check warning on line 7 in sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml.cs GitHub Actions / build
Check warning on line 7 in sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml.cs GitHub Actions / build
Check warning on line 7 in sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/MainPage.xaml.cs GitHub Actions / build
|
||
|
||
// 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}"; | ||
//} | ||
} | ||
} |
5 changes: 0 additions & 5 deletions
5
sample/CountryData.Sample.MAUI/CountryData.Sample.MAUI/ViewModels/MainViewModel.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
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
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 |
---|---|---|
|
@@ -26,4 +26,4 @@ | |
|
||
app.MapControllers(); | ||
|
||
app.Run(); | ||
app.Run(); |
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