@ -20,6 +20,6 @@
<CollectionView ItemsSource="{Binding}" SelectionMode="Single" SelectionChanged="OnClickGameList" ItemsLayout="VerticalGrid, 5" Grid.Column="1" Grid.Row="1" ItemTemplate="{StaticResource gameTemplate}"/>
</Grid>
</ScrollView>
<ImageButton Style="{StaticResource addButton}" Clicked="GoToAddGamePage"/>
<ImageButton Style="{StaticResource addButton}" Clicked="Addgame"/>
</ContentPage>
@ -36,9 +36,13 @@ public partial class MainPage : ContentPage
BindingContext=((App)App.Current).Manager.FilterGames(GameText, Tag1Text, Tag2Text);
}
protected override void OnAppearing()
{
SearchBar_GameChanged(null,null);
Game.Text = "";
Tag1.Text = "";
Tag2.Text = "";
SearchBar_GameChanged(null, null);
base.OnAppearing();