diff --git a/asugaksharp/App.xaml.cs b/asugaksharp/App.xaml.cs
index 3f52bf4..619c05d 100644
--- a/asugaksharp/App.xaml.cs
+++ b/asugaksharp/App.xaml.cs
@@ -6,7 +6,7 @@
{
InitializeComponent();
- MainPage = new AppShell();
+ MainPage = new NavigationPage(new MainPage());
}
}
}
diff --git a/asugaksharp/AppShell.xaml b/asugaksharp/AppShell.xaml
deleted file mode 100644
index d20e8f2..0000000
--- a/asugaksharp/AppShell.xaml
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-
-
-
-
diff --git a/asugaksharp/AppShell.xaml.cs b/asugaksharp/AppShell.xaml.cs
deleted file mode 100644
index 9b8718d..0000000
--- a/asugaksharp/AppShell.xaml.cs
+++ /dev/null
@@ -1,10 +0,0 @@
-namespace asugaksharp
-{
- public partial class AppShell : Shell
- {
- public AppShell()
- {
- InitializeComponent();
- }
- }
-}
diff --git a/asugaksharp/MainPage.xaml b/asugaksharp/MainPage.xaml
index cced42d..772d810 100644
--- a/asugaksharp/MainPage.xaml
+++ b/asugaksharp/MainPage.xaml
@@ -3,34 +3,14 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="asugaksharp.MainPage">
-
-
-
-
+
+
+
-
+
+
-
-
-
+
diff --git a/asugaksharp/MainPage.xaml.cs b/asugaksharp/MainPage.xaml.cs
index a9ca5fb..4a1ec47 100644
--- a/asugaksharp/MainPage.xaml.cs
+++ b/asugaksharp/MainPage.xaml.cs
@@ -1,4 +1,6 @@
-namespace asugaksharp
+using asugaksharp.Presentation.Views;
+
+namespace asugaksharp
{
public partial class MainPage : ContentPage
{
@@ -9,16 +11,14 @@
InitializeComponent();
}
- private void OnCounterClicked(object sender, EventArgs e)
+ private async void OnGoToPage1Clicked(object sender, EventArgs e)
{
- count++;
+ await Navigation.PushAsync(new Page1());
+ }
- if (count == 1)
- CounterBtn.Text = $"Clicked {count} time";
- else
- CounterBtn.Text = $"Clicked {count} times";
-
- SemanticScreenReader.Announce(CounterBtn.Text);
+ private async void OnGoToPersonClicked(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new GakPersonCard());
}
}
diff --git a/asugaksharp/Presentation/Views/GakPersonCard.xaml b/asugaksharp/Presentation/Views/GakPersonCard.xaml
new file mode 100644
index 0000000..355d986
--- /dev/null
+++ b/asugaksharp/Presentation/Views/GakPersonCard.xaml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/asugaksharp/Presentation/Views/GakPersonCard.xaml.cs b/asugaksharp/Presentation/Views/GakPersonCard.xaml.cs
new file mode 100644
index 0000000..2dde16b
--- /dev/null
+++ b/asugaksharp/Presentation/Views/GakPersonCard.xaml.cs
@@ -0,0 +1,9 @@
+namespace asugaksharp.Presentation.Views;
+
+public partial class GakPersonCard : ContentPage
+{
+ public GakPersonCard()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/asugaksharp/Presentation/Views/Page1.xaml b/asugaksharp/Presentation/Views/Page1.xaml
new file mode 100644
index 0000000..e9d1c2f
--- /dev/null
+++ b/asugaksharp/Presentation/Views/Page1.xaml
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/asugaksharp/Presentation/Views/Page1.xaml.cs b/asugaksharp/Presentation/Views/Page1.xaml.cs
new file mode 100644
index 0000000..811e645
--- /dev/null
+++ b/asugaksharp/Presentation/Views/Page1.xaml.cs
@@ -0,0 +1,16 @@
+using asugaksharp.Presentation.Views;
+
+namespace asugaksharp.Presentation.Views;
+
+public partial class Page1 : ContentPage
+{
+ public Page1()
+ {
+ InitializeComponent();
+ }
+
+ private async void OnNextPageClicked(object sender, EventArgs e)
+ {
+ await Navigation.PushAsync(new Page2()); // , Page2
+ }
+}
\ No newline at end of file
diff --git a/asugaksharp/Presentation/Views/Page2.xaml b/asugaksharp/Presentation/Views/Page2.xaml
new file mode 100644
index 0000000..b358162
--- /dev/null
+++ b/asugaksharp/Presentation/Views/Page2.xaml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/asugaksharp/Presentation/Views/Page2.xaml.cs b/asugaksharp/Presentation/Views/Page2.xaml.cs
new file mode 100644
index 0000000..2a405fa
--- /dev/null
+++ b/asugaksharp/Presentation/Views/Page2.xaml.cs
@@ -0,0 +1,9 @@
+namespace asugaksharp.Presentation.Views;
+
+public partial class Page2 : ContentPage
+{
+ public Page2()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/asugaksharp/asugaksharp.csproj b/asugaksharp/asugaksharp.csproj
index ce7684c..c97d74f 100644
--- a/asugaksharp/asugaksharp.csproj
+++ b/asugaksharp/asugaksharp.csproj
@@ -62,4 +62,29 @@
+
+
+
+
+
+
+
+
+
+ Page2.xaml
+
+
+
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
+
+
diff --git a/asugaksharp/asugaksharp.csproj.user b/asugaksharp/asugaksharp.csproj.user
index 891593c..bdfc170 100644
--- a/asugaksharp/asugaksharp.csproj.user
+++ b/asugaksharp/asugaksharp.csproj.user
@@ -9,9 +9,6 @@
Designer
-
- Designer
-
Designer