diff --git a/MangaMap/AppShell.xaml b/MangaMap/AppShell.xaml
index 28ceb41..a967bf5 100644
--- a/MangaMap/AppShell.xaml
+++ b/MangaMap/AppShell.xaml
@@ -6,9 +6,10 @@
xmlns:local="clr-namespace:MangaMap"
xmlns:Views="clr-namespace:MangaMap.Views"
Shell.FlyoutBehavior="Disabled"
- Shell.NavBarIsVisible="False">
+ Shell.NavBarIsVisible="False"
+ Shell.TabBarIsVisible="False">
-
+
-
+
diff --git a/MangaMap/AppShell.xaml.cs b/MangaMap/AppShell.xaml.cs
index 123c12b..9bfc011 100644
--- a/MangaMap/AppShell.xaml.cs
+++ b/MangaMap/AppShell.xaml.cs
@@ -1,9 +1,18 @@
-namespace MangaMap;
+using MangaMap.Views;
+
+namespace MangaMap;
public partial class AppShell : Shell
{
public AppShell()
{
InitializeComponent();
- }
+
+ Routing.RegisterRoute("homePagedetails", typeof(homePage));
+ Routing.RegisterRoute("inscriptionPagedetails", typeof(signUpPage));
+ Routing.RegisterRoute("connexionPagedetails", typeof(loginPage));
+ Routing.RegisterRoute("settingsPagedetails", typeof(settingsPage));
+ Routing.RegisterRoute("listPagedetails", typeof(listPage));
+ Routing.RegisterRoute("fichePagedetails", typeof(ficheAnime));
+ }
}
diff --git a/MangaMap/CustomHeader.xaml.cs b/MangaMap/CustomHeader.xaml.cs
index 04808df..fb50889 100644
--- a/MangaMap/CustomHeader.xaml.cs
+++ b/MangaMap/CustomHeader.xaml.cs
@@ -8,14 +8,14 @@ public partial class NewContent1 : ContentView
InitializeComponent();
}
- void ImageButton_Clicked(System.Object sender, System.EventArgs e)
+ async void ImageButton_Clicked(System.Object sender, System.EventArgs e)
{
- Navigation.PushAsync(new homePage());
- //ShellContent(new homePage());
+ //Navigation.PushAsync(new homePage());
+ await Shell.Current.GoToAsync("//page/homePage");
}
- void SettingButton_Clicked(object sender, System.EventArgs e)
+ async void SettingButton_Clicked(object sender, System.EventArgs e)
{
- Navigation.PushAsync(new settingsPage());
+ await Shell.Current.GoToAsync("//page/secondaire/settingsPage");
}
}
\ No newline at end of file
diff --git a/MangaMap/Stub/DataToPersist.cs b/MangaMap/Stub/DataToPersist.cs
index a082f51..2e5386e 100644
--- a/MangaMap/Stub/DataToPersist.cs
+++ b/MangaMap/Stub/DataToPersist.cs
@@ -7,6 +7,7 @@ using System.Threading.Tasks;
namespace MangaMap.Stub
{
+ //Cette classe permet de définir ce qui doit être enregistrer par la persistance.
public class DataToPersist
{
public List Oeuvres { get; set; } = new List();
diff --git a/MangaMap/Stub/Stub.cs b/MangaMap/Stub/Stub.cs
index 4b1ff03..cebcf6e 100644
--- a/MangaMap/Stub/Stub.cs
+++ b/MangaMap/Stub/Stub.cs
@@ -9,7 +9,8 @@ namespace MangaMap.Stub
{
public class Stub : IPersistanceManager
- //Cette classe sert à faire charger des un jeu de données qui n'est pas celui enregistrer dans le fichier sur l'ordinateur.
+ //Cette classe sert à faire charger un jeu de données qui n'est pas celui enregistrer dans le fichier sur l'ordinateur.
+ //Il permet de faire des transistion entre différent moyen de persister.
{
public (List, List) chargeDonne()
{