You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
802 B
29 lines
802 B
namespace MangaMap.Views;
|
|
using MangaMap.Model;
|
|
using static System.Net.Mime.MediaTypeNames;
|
|
|
|
public partial class listPage : ContentPage
|
|
{
|
|
public Manager my_manager => (App.Current as App).MyManager;
|
|
|
|
public listPage()
|
|
{
|
|
InitializeComponent();
|
|
BindingContext = my_manager;
|
|
}
|
|
|
|
private async void AnimeImageClickedList(object sender, EventArgs e)
|
|
{
|
|
var selectedAnime = (sender as ImageButton)?.BindingContext as Oeuvre;
|
|
if (selectedAnime != null)
|
|
{
|
|
// Naviguez vers la page de la fiche d'anime en passant l'objet sélectionné
|
|
await Navigation.PushAsync(new ficheAnime(selectedAnime));
|
|
}
|
|
}
|
|
|
|
private async void OnAddClicked(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
} |