1
0
Fork 0
mirror of https://github.com/Nioux/AideDeJeu.git synced 2025-10-30 06:56:10 +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 set
{ {
if (_Index != value) if (value >= 0)
{ {
SetProperty(ref _Index, value); if (_Index != value)
Main.LoadItemsCommand.Execute(null); {
SetProperty(ref _Index, value);
Main.LoadItemsCommand.Execute(null);
}
} }
} }
} }

View file

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