1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-29 22:45:44 +00:00

Problem solved ;)

This commit is contained in:
Yan Maniez 2018-05-28 12:01:51 +02:00
parent 8ff866f8b6
commit 1a3ec6e557
2 changed files with 6 additions and 4 deletions

View file

@ -62,10 +62,13 @@ namespace AideDeJeu.ViewModels
}
set
{
if (_Index != value)
if (value >= 0)
{
SetProperty(ref _Index, value);
Main.LoadItemsCommand.Execute(null);
if (_Index != value)
{
SetProperty(ref _Index, value);
Main.LoadItemsCommand.Execute(null);
}
}
}
}

View file

@ -40,7 +40,6 @@
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<!--<ContentView ControlTemplate="{Binding ItemsType, Converter={StaticResource ItemsTypeTemplateConverter}}" BindingContext="{Binding}" />-->
</ContentPage>
</MasterDetailPage.Master>
<MasterDetailPage.Detail>