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.
Projet_IHM/Sources/Stim/FollowPage.xaml.cs

18 lines
421 B

using Model;
namespace Stim;
public partial class FollowPage : ContentPage
{
public FollowPage()
{
InitializeComponent();
BindingContext = (App.Current as App).Manager.CurrentUser;
}
public async void GoToDetail(object sender, EventArgs e)
{
(App.Current as App).Manager.SelectedGame = (sender as CollectionView).SelectedItem as Game;
await Navigation.PushAsync(new DetailledPage());
}
}