mirror of
https://github.com/Nioux/AideDeJeu.git
synced 2025-10-29 14:35:45 +00:00
Ajout gestion back => affiche/cache le hamburger menu
This commit is contained in:
parent
d57702e9b9
commit
59cd8048e0
2 changed files with 8 additions and 5 deletions
|
|
@ -8,7 +8,7 @@
|
|||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>AideDeJeu.Droid</RootNamespace>
|
||||
<AssemblyName>AideDeJeu.Android</AssemblyName>
|
||||
<TargetFrameworkVersion>v8.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
|
||||
<AndroidApplication>True</AndroidApplication>
|
||||
<AndroidResgenFile>Resources\Resource.designer.cs</AndroidResgenFile>
|
||||
<AndroidResgenClass>Resource</AndroidResgenClass>
|
||||
|
|
|
|||
|
|
@ -16,11 +16,16 @@ namespace AideDeJeu.Views
|
|||
public ItemsPage ()
|
||||
{
|
||||
InitializeComponent ();
|
||||
|
||||
BindingContext = viewModel = new ItemsViewModel(Navigation);
|
||||
|
||||
}
|
||||
|
||||
protected override bool OnBackButtonPressed()
|
||||
{
|
||||
IsPresented = !IsPresented;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
async void OnItemSelected(object sender, SelectedItemChangedEventArgs args)
|
||||
{
|
||||
if (args.SelectedItem is Spell)
|
||||
|
|
@ -55,7 +60,5 @@ namespace AideDeJeu.Views
|
|||
if (viewModel.Items.Count == 0)
|
||||
viewModel.LoadItemsCommand.Execute(null);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue