diff --git a/sources/PocketBook/Resources/Fonts/San-Francisco/San Francisco/.DS_Store b/.DS_Store
similarity index 92%
rename from sources/PocketBook/Resources/Fonts/San-Francisco/San Francisco/.DS_Store
rename to .DS_Store
index 5064aae..5d1ff1d 100644
Binary files a/sources/PocketBook/Resources/Fonts/San-Francisco/San Francisco/.DS_Store and b/.DS_Store differ
diff --git a/sources/.DS_Store b/sources/.DS_Store
new file mode 100644
index 0000000..9666813
Binary files /dev/null and b/sources/.DS_Store differ
diff --git a/sources/PocketBook/.DS_Store b/sources/PocketBook/.DS_Store
new file mode 100644
index 0000000..5feef88
Binary files /dev/null and b/sources/PocketBook/.DS_Store differ
diff --git a/sources/PocketBook/AppShell.xaml b/sources/PocketBook/AppShell.xaml
index fcfd5ee..5fdbca2 100644
--- a/sources/PocketBook/AppShell.xaml
+++ b/sources/PocketBook/AppShell.xaml
@@ -1,4 +1,4 @@
-
+
-
-
-
-
+
+
+
+
diff --git a/sources/PocketBook/Auteur.xaml b/sources/PocketBook/Auteur.xaml
index e449401..6a7c99b 100644
--- a/sources/PocketBook/Auteur.xaml
+++ b/sources/PocketBook/Auteur.xaml
@@ -1,14 +1,69 @@
-
+
-
-
-
-
+ Title="Auteur"
+ xmlns:local="clr-namespace:PocketBook"
+ xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sources/PocketBook/Auteur.xaml.cs b/sources/PocketBook/Auteur.xaml.cs
index 093ca89..f1f5f82 100644
--- a/sources/PocketBook/Auteur.xaml.cs
+++ b/sources/PocketBook/Auteur.xaml.cs
@@ -6,4 +6,9 @@ public partial class Auteur : ContentPage
{
InitializeComponent();
}
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopToRootAsync();
+ }
}
\ No newline at end of file
diff --git a/sources/PocketBook/BookChange.xaml b/sources/PocketBook/BookChange.xaml
index aa7bd16..0759396 100644
--- a/sources/PocketBook/BookChange.xaml
+++ b/sources/PocketBook/BookChange.xaml
@@ -1,10 +1,10 @@
-
+
-
+
diff --git a/sources/PocketBook/BookDetail.xaml b/sources/PocketBook/BookDetail.xaml
index ad293fb..b9971bd 100644
--- a/sources/PocketBook/BookDetail.xaml
+++ b/sources/PocketBook/BookDetail.xaml
@@ -1,19 +1,32 @@
-
+
+ xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
+
-
-
+
+
+
+
+
+
+
@@ -29,7 +42,7 @@
-
+
@@ -49,7 +62,7 @@
Curabitur tempus erat nec sapien aliquam venenatis. In ornare odio in lacus ornare finibus. Maecenas semper nulla non tortor gravida tincidunt ut ut arcu. Sed magna sem, semper quis justo vitae, lacinia laoreet ex. Curabitur at mauris a velit pharetra fringilla commodo non elit. Quisque sollicitudin, ipsum id dapibus consectetur, sapien tortor mattis lectus, vitae tempor nisl nisl sed ipsum. In in orci nec odio hendrerit posuere a vel libero." Margin="0,10,15,0"/>
-
+
@@ -78,17 +91,18 @@
-
+
-
+
-
+
-
+
+
diff --git a/sources/PocketBook/BookDetail.xaml.cs b/sources/PocketBook/BookDetail.xaml.cs
index 5eca7c2..18d411a 100644
--- a/sources/PocketBook/BookDetail.xaml.cs
+++ b/sources/PocketBook/BookDetail.xaml.cs
@@ -2,23 +2,21 @@ namespace PocketBook;
public partial class BookDetail : ContentPage
{
- public BookDetail(Book book)
+ public BookDetail()
{
- InitializeComponent();
-
- ToolbarItem item = new ToolbarItem
- {
- Text = "Add item",
- IconImageSource = ImageSource.FromFile("add.png")
- };
- this.ToolbarItems.Add(item);
- titreBook.Text = book.name;
- bookAuteur.Text = book.auteur;
+ InitializeComponent();
+ titreBook.Text = "La horde du contrevent";
+ bookAuteur.Text = "Alain Damasio";
bookEdition.Text = "Fayard (2019)";
bookNbPages.Text = "700";
bookISBN.Text = "9854645645456";
- bookLangue.Text = "français";
- bookStatus.Text = book.type;
- bookAdd.Text = "15 août 2013";
+ bookLangue.Text = "français";
+ bookStatus.Text = "Non lu";
+ bookAdd.Text = "15 août 2013";
+ }
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopAsync();
}
}
\ No newline at end of file
diff --git a/sources/PocketBook/ContentViewBook.xaml b/sources/PocketBook/ContentViewBook.xaml
index 0666cfa..8241489 100644
--- a/sources/PocketBook/ContentViewBook.xaml
+++ b/sources/PocketBook/ContentViewBook.xaml
@@ -1,23 +1,43 @@
-
+
+ x:Class="PocketBook.ContentViewBook"
+ xmlns:toolkit="http://schemas.microsoft.com/dotnet/2022/maui/toolkit">
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
diff --git a/sources/PocketBook/ContentViewFilter.xaml b/sources/PocketBook/ContentViewFilter.xaml
index 7ba43b6..09c6896 100644
--- a/sources/PocketBook/ContentViewFilter.xaml
+++ b/sources/PocketBook/ContentViewFilter.xaml
@@ -1,4 +1,4 @@
-
+
@@ -7,7 +7,7 @@
-
+
diff --git a/sources/PocketBook/DatePublic.xaml b/sources/PocketBook/DatePublic.xaml
new file mode 100644
index 0000000..c95d533
--- /dev/null
+++ b/sources/PocketBook/DatePublic.xaml
@@ -0,0 +1,72 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/DatePublic.xaml.cs b/sources/PocketBook/DatePublic.xaml.cs
new file mode 100644
index 0000000..4fa6d98
--- /dev/null
+++ b/sources/PocketBook/DatePublic.xaml.cs
@@ -0,0 +1,14 @@
+namespace PocketBook;
+
+public partial class DatePublic : ContentPage
+{
+ public DatePublic()
+ {
+ InitializeComponent();
+ }
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopToRootAsync();
+ }
+}
diff --git a/sources/PocketBook/Filtrage.xaml b/sources/PocketBook/Filtrage.xaml
new file mode 100644
index 0000000..0dc4ce3
--- /dev/null
+++ b/sources/PocketBook/Filtrage.xaml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/Filtrage.xaml.cs b/sources/PocketBook/Filtrage.xaml.cs
new file mode 100644
index 0000000..5bf4b25
--- /dev/null
+++ b/sources/PocketBook/Filtrage.xaml.cs
@@ -0,0 +1,33 @@
+namespace PocketBook;
+
+public partial class Filtrage : ContentView
+{
+
+ public static readonly BindableProperty DatanameProperty =
+ BindableProperty.Create(nameof(Dataname), typeof(string), typeof(Filtrage), string.Empty);
+
+ public static readonly BindableProperty NumberDataProperty =
+ BindableProperty.Create(nameof(NumberData), typeof(string), typeof(Filtrage), string.Empty);
+
+
+ public string Dataname
+ {
+ get { return (string)GetValue(DatanameProperty); }
+ set { SetValue(DatanameProperty, value); }
+ }
+ public string NumberData
+ {
+ get { return (string)GetValue(NumberDataProperty); }
+ set { SetValue(NumberDataProperty, value); }
+ }
+
+
+
+ public Filtrage()
+ {
+ InitializeComponent();
+
+ dataname.SetBinding(Label.TextProperty, new Binding(nameof(Dataname), source: this));
+ numberData.SetBinding(Label.TextProperty, new Binding(nameof(NumberData), source: this));
+ }
+}
diff --git a/sources/PocketBook/MainPage.xaml b/sources/PocketBook/MainPage.xaml
index a35e364..e207639 100644
--- a/sources/PocketBook/MainPage.xaml
+++ b/sources/PocketBook/MainPage.xaml
@@ -13,7 +13,7 @@
-
@@ -21,17 +21,17 @@
-
-
-
-
@@ -39,21 +39,28 @@
-
-
+
+
+
+
+
+
-
+
+
diff --git a/sources/PocketBook/MainPage.xaml.cs b/sources/PocketBook/MainPage.xaml.cs
index afcad9d..aa64cc6 100644
--- a/sources/PocketBook/MainPage.xaml.cs
+++ b/sources/PocketBook/MainPage.xaml.cs
@@ -14,6 +14,11 @@ public partial class MainPage : ContentPage
private async void OnContentViewFilterTappedAuteur(object sender, EventArgs e)
{
await Navigation.PushAsync(new Auteur());
- }
+ }
+
+ private async void OnContentViewFilterTappedDate(object sender,EventArgs e)
+ {
+ await Navigation.PushAsync(new DatePublic());
+ }
}
diff --git a/sources/PocketBook/Platforms/iOS/Info.plist b/sources/PocketBook/Platforms/iOS/Info.plist
index 358337b..0004a4f 100644
--- a/sources/PocketBook/Platforms/iOS/Info.plist
+++ b/sources/PocketBook/Platforms/iOS/Info.plist
@@ -1,32 +1,32 @@
-
-
-
-
- LSRequiresIPhoneOS
-
- UIDeviceFamily
-
- 1
- 2
-
- UIRequiredDeviceCapabilities
-
- arm64
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- XSAppIconAssets
- Assets.xcassets/appicon.appiconset
-
-
+
+
+
+
+ LSRequiresIPhoneOS
+
+ UIDeviceFamily
+
+ 1
+ 2
+
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ UISupportedInterfaceOrientations~ipad
+
+ UIInterfaceOrientationPortrait
+ UIInterfaceOrientationPortraitUpsideDown
+ UIInterfaceOrientationLandscapeLeft
+ UIInterfaceOrientationLandscapeRight
+
+ XSAppIconAssets
+ Assets.xcassets/appicon.appiconset
+
+
diff --git a/sources/PocketBook/PocketBook.csproj b/sources/PocketBook/PocketBook.csproj
index 890ca5e..08b7730 100644
--- a/sources/PocketBook/PocketBook.csproj
+++ b/sources/PocketBook/PocketBook.csproj
@@ -30,6 +30,12 @@
6.5
+
+ false
+
+
+ false
+
@@ -38,10 +44,6 @@
-
-
-
-
@@ -80,6 +82,105 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/Resources/.DS_Store b/sources/PocketBook/Resources/.DS_Store
new file mode 100644
index 0000000..ffe8c46
Binary files /dev/null and b/sources/PocketBook/Resources/.DS_Store differ
diff --git a/sources/PocketBook/Resources/Images/.DS_Store b/sources/PocketBook/Resources/Images/.DS_Store
new file mode 100644
index 0000000..c0ed908
Binary files /dev/null and b/sources/PocketBook/Resources/Images/.DS_Store differ
diff --git a/sources/PocketBook/Resources/Images/arrow_forward.svg b/sources/PocketBook/Resources/Images/arrow_forward.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/arrows.svg b/sources/PocketBook/Resources/Images/arrows.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/barcode.svg b/sources/PocketBook/Resources/Images/barcode.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/barcode_scan.png b/sources/PocketBook/Resources/Images/barcode_scan.png
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/binoculars.svg b/sources/PocketBook/Resources/Images/binoculars.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/binoculars_fill.svg b/sources/PocketBook/Resources/Images/binoculars_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/book.svg b/sources/PocketBook/Resources/Images/book.svg
new file mode 100644
index 0000000..0aa4dc3
--- /dev/null
+++ b/sources/PocketBook/Resources/Images/book.svg
@@ -0,0 +1,10 @@
+
diff --git a/sources/PocketBook/Resources/Images/book_closed.svg b/sources/PocketBook/Resources/Images/book_closed.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/book_closed_fill.svg b/sources/PocketBook/Resources/Images/book_closed_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/book_fill.svg b/sources/PocketBook/Resources/Images/book_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/bookmark.svg b/sources/PocketBook/Resources/Images/bookmark.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/bookmark_fill.svg b/sources/PocketBook/Resources/Images/bookmark_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/books_vertical.svg b/sources/PocketBook/Resources/Images/books_vertical.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/books_vertical_fill.svg b/sources/PocketBook/Resources/Images/books_vertical_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/buveurencre.jpg b/sources/PocketBook/Resources/Images/buveurencre.jpg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/calendar.svg b/sources/PocketBook/Resources/Images/calendar.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/calendar_badge_clock.svg b/sources/PocketBook/Resources/Images/calendar_badge_clock.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/chevron_left.svg b/sources/PocketBook/Resources/Images/chevron_left.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/chevron_right.svg b/sources/PocketBook/Resources/Images/chevron_right.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/dotnet_bot.svg b/sources/PocketBook/Resources/Images/dotnet_bot.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/eyeglasses.svg b/sources/PocketBook/Resources/Images/eyeglasses.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/folder.svg b/sources/PocketBook/Resources/Images/folder.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/gear.svg b/sources/PocketBook/Resources/Images/gear.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/heart.svg b/sources/PocketBook/Resources/Images/heart.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/heart_fill.svg b/sources/PocketBook/Resources/Images/heart_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/keyboard.svg b/sources/PocketBook/Resources/Images/keyboard.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/listbullet.svg b/sources/PocketBook/Resources/Images/listbullet.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/magnifyingglass.svg b/sources/PocketBook/Resources/Images/magnifyingglass.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/person.svg b/sources/PocketBook/Resources/Images/person.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/person_badge_clock.svg b/sources/PocketBook/Resources/Images/person_badge_clock.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/person_badge_clock_fill.svg b/sources/PocketBook/Resources/Images/person_badge_clock_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/person_fill.svg b/sources/PocketBook/Resources/Images/person_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/person_second.svg b/sources/PocketBook/Resources/Images/person_second.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/person_second_fill.svg b/sources/PocketBook/Resources/Images/person_second_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/person_three.svg b/sources/PocketBook/Resources/Images/person_three.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/person_three_fill.svg b/sources/PocketBook/Resources/Images/person_three_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/plus.svg b/sources/PocketBook/Resources/Images/plus.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/plus_round.svg b/sources/PocketBook/Resources/Images/plus_round.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/sparkles.svg b/sources/PocketBook/Resources/Images/sparkles.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/star.svg b/sources/PocketBook/Resources/Images/star.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/sunglasses.svg b/sources/PocketBook/Resources/Images/sunglasses.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/tag.svg b/sources/PocketBook/Resources/Images/tag.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/tag_fill.svg b/sources/PocketBook/Resources/Images/tag_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/text_book_closed.svg b/sources/PocketBook/Resources/Images/text_book_closed.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/text_book_closed_fill.svg b/sources/PocketBook/Resources/Images/text_book_closed_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/tray_second.svg b/sources/PocketBook/Resources/Images/tray_second.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/Resources/Images/tray_second_fill.svg b/sources/PocketBook/Resources/Images/tray_second_fill.svg
old mode 100644
new mode 100755
diff --git a/sources/PocketBook/TousPage.xaml b/sources/PocketBook/TousPage.xaml
index b5266c4..bc5d768 100644
--- a/sources/PocketBook/TousPage.xaml
+++ b/sources/PocketBook/TousPage.xaml
@@ -1,81 +1,83 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sources/PocketBook/TousPage.xaml.cs b/sources/PocketBook/TousPage.xaml.cs
index 27d0cbf..96ce55c 100644
--- a/sources/PocketBook/TousPage.xaml.cs
+++ b/sources/PocketBook/TousPage.xaml.cs
@@ -1,68 +1,28 @@
+using CommunityToolkit.Maui.Core;
using CommunityToolkit.Maui.Views;
namespace PocketBook;
-public partial class Book
-{
- public string name { get; set; }
- public string type { get; set; }
- public string auteur { get; set; }
- public string image { get; set; }
-
- public Book(string name, string type,string auteur)
- {
- this.name = name;
- this.auteur = auteur;
- this.type = type;
- }
-}
-
-public partial class Auteur
-{
- public string name { get; set; }
- public List books { get; set; }
-
- public Auteur(string name)
- {
- this.name = name;
- books = new List
- {
- new Book("Buveur d'encre", "En lecture", name),
- new Book("Harry Potter et la pierre philosophale", "Non lu",name),
- new Book("Le Seigneur des anneaux", "En lecture", name),
- new Book("1984", "Terminé", name),
- new Book("Le Petit Prince", "Non lu", name)
- };
- }
-}
-
public partial class TousPage : ContentPage
-{
- public List mesAuteurs { get; set; }
- public List books { get; set; }
-
- public bool clicked=false;
-
- public TousPage()
+{
+
+ public TousPage()
{
- mesAuteurs = new List
- {
- new Auteur("J.K. Rowling"),
- new Auteur("J.R.R. Tolkien")
- };
- InitializeComponent();
- BindingContext=this;
+ InitializeComponent();
}
- public async void OnCollectionViewSelectionChanged(object sender, SelectionChangedEventArgs e)
+
+ public async void OnBookSelected(object sender, EventArgs e)
{
- if (e.CurrentSelection.FirstOrDefault() is Book livreSelectionne)
- {
- await Navigation.PushAsync(new BookDetail(livreSelectionne));
- }
+ await Navigation.PushAsync(new BookDetail());
}
private void OnImageButtonClicked(object sender, EventArgs e)
- {
- var popup = new AddBook();
+ {
+ this.ShowPopup(new AddBook());
}
+
+ private async void RetourMainMenu(object sender, EventArgs e)
+ {
+ await Navigation.PopToRootAsync();
+ }
}
\ No newline at end of file