Retour à l'état initial du leaderboard
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details

pull/94/head
Remi NEVEU 11 months ago
parent 0ff2da324f
commit e16133b425

@ -6,5 +6,4 @@ public partial class ContentLeaderBoard : ContentView
{ {
InitializeComponent(); InitializeComponent();
} }
} }

@ -4,12 +4,8 @@
xmlns:views="clr-namespace:Trek_12.Views.Components" xmlns:views="clr-namespace:Trek_12.Views.Components"
x:Class="Trek_12.Views.PageLeaderBoard" x:Class="Trek_12.Views.PageLeaderBoard"
Title="PageLeaderBoard"> Title="PageLeaderBoard">
<Grid BackgroundColor="BlanchedAlmond" <Grid BackgroundColor="BlanchedAlmond"
RowDefinitions="auto,6*,*"> RowDefinitions="auto,6*,*">
<VerticalStackLayout> <VerticalStackLayout>
<Label <Label
Text="Leader board" Text="Leader board"
@ -21,29 +17,19 @@
HeightRequest="1" HeightRequest="1"
WidthRequest="125"/> WidthRequest="125"/>
</VerticalStackLayout> </VerticalStackLayout>
<ScrollView Grid.Row="1" <ScrollView Grid.Row="1"
VerticalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
VerticalScrollBarVisibility="Never" VerticalScrollBarVisibility="Never"
Margin="0,10"> Margin="0,10">
<VerticalStackLayout>
<views:ContentLeaderBoard/>
<!--<CollectionView ItemsSource="{Binding ListPlayer}"> <views:ContentLeaderBoard/>
<CollectionView.ItemTemplate> <views:ContentLeaderBoard/>
--><!--<DataTemplate> <views:ContentLeaderBoard/>
<views:ContentLeaderBoard/> <views:ContentLeaderBoard/>
<Label Text="{Binding Pseudo}"/> <views:ContentLeaderBoard/>
</DataTemplate>--><!-- </VerticalStackLayout>
<views:ContentLeaderBoard
/>
</CollectionView.ItemTemplate>
</CollectionView>-->
</ScrollView> </ScrollView>
<Button Text="Back" <Button Text="Back"
BackgroundColor="OliveDrab" BackgroundColor="OliveDrab"
FontSize="Title" FontSize="Title"

@ -1,12 +1,9 @@
namespace Trek_12.Views; namespace Trek_12.Views;
using Stub;
public partial class PageLeaderBoard : ContentPage public partial class PageLeaderBoard : ContentPage
{ {
public Stub MyStub { get; set; } = new Stub();
public PageLeaderBoard() public PageLeaderBoard()
{ {
//InitializeComponent(); InitializeComponent();
BindingContext = MyStub;
} }
} }
Loading…
Cancel
Save