From aa94c63978dbbf4b0cfdbbcf9c7ddc6c13cd825a Mon Sep 17 00:00:00 2001 From: "Leana.Besson" Date: Thu, 25 May 2023 11:51:14 +0200 Subject: [PATCH] AJout Binding animauux --- Sources/Views/Animaux.xaml | 3 ++- Sources/Views/Animaux.xaml.cs | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Sources/Views/Animaux.xaml b/Sources/Views/Animaux.xaml index e09adeb..ec2c572 100644 --- a/Sources/Views/Animaux.xaml +++ b/Sources/Views/Animaux.xaml @@ -17,7 +17,8 @@ + Grid.Row="1" + ItemTapped="OnClick"> diff --git a/Sources/Views/Animaux.xaml.cs b/Sources/Views/Animaux.xaml.cs index 6ed7292..4b4027b 100644 --- a/Sources/Views/Animaux.xaml.cs +++ b/Sources/Views/Animaux.xaml.cs @@ -17,5 +17,10 @@ public partial class Animaux : ContentPage (App.Current as App).AnimalSelectionner = e.Item as Animal; Navigation.PushAsync(new DetailAnimal()); } + + private void ListView_ItemTapped(object sender, ItemTappedEventArgs e) + { + + } }