Skip to content

Commit b0202c7

Browse files
committed
updated to V3.5.0
Working on a performance. And remove the deprecate stuff. And replace them with Updated Things.
1 parent fd301ea commit b0202c7

File tree

2,578 files changed

+66576
-63073
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,578 files changed

+66576
-63073
lines changed

AboutMe.xaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@
1212
Text="Hiya!"
1313
FontSize="100"
1414
FontFamily="Fortnitee"
15+
TextColor="Cornsilk"
16+
1517
VerticalOptions="Center"
1618
HorizontalOptions="Center" />
1719
<Label
1820
Text="My Name is Samuel Kendall "
1921
VerticalOptions="Center"
2022
FontFamily="Fortnitee"
23+
TextColor="Aqua"
2124
FontSize="30"
2225
VerticalTextAlignment="Center"
2326
FontAttributes="Bold"
@@ -28,6 +31,7 @@
2831
Text="and i love Fortnite"
2932
VerticalOptions="Center"
3033
FontFamily="Fortnitee"
34+
TextColor="LightGreen"
3135
FontSize="30"
3236
VerticalTextAlignment="Center"
3337
FontAttributes="Bold"
@@ -47,7 +51,7 @@ HorizontalOptions="Center" />
4751
<Label
4852
FontFamily="Fortnitee"
4953
FontSize="19"
50-
TextColor="AliceBlue"
54+
TextColor="Gold"
5155
TextDecorations="Underline"
5256
Text="My Email : KingUser981@gmail.com"
5357
VerticalOptions="Center"

App.xaml.cs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ public partial class App : Application
44
{
55
public App()
66
{
7-
InitializeComponent();
8-
MainPage = new AppShell();
7+
InitializeComponent();
98
Routing.RegisterRoute(nameof(AboutMe), typeof(AboutMe));
109
Routing.RegisterRoute(nameof(CheakNewVersion), typeof(CheakNewVersion));
1110
Routing.RegisterRoute(nameof(SinglePingTest), typeof(SinglePingTest));
1211

1312
}
1413

15-
14+
protected override Window CreateWindow(IActivationState? activationState)
15+
{
16+
return new Window(new AppShell());
17+
}
18+
19+
1620
}
1721
}

CheakNewVersion.xaml.cs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public partial class CheakNewVersion : ContentPage
1111
// === CONFIGURATION ===
1212
private const string RepoOwner = "kinguser981";
1313
private const string RepoName = "Fortnite_DNS";
14-
private static readonly Version LocalVersion = new Version("3.1.0");
14+
private static readonly Version LocalVersion = new Version("3.5.0");
1515
// =====================
1616

1717
public CheakNewVersion()
@@ -55,16 +55,14 @@ private async Task CheckGitHubNewReleaseAsync()
5555
// Update available!
5656
mylab.Text = $"✨ New version available: {latestGitHubVersion}!";
5757

58-
5958

60-
// You can provide the user with the download URL
61-
await DisplayAlert(
62-
"Update Available",
63-
$"Please update to version {latestGitHubVersion}.",
64-
"OK");
65-
66-
67-
}
59+
60+
// You can provide the user with the download URL
61+
// Page.DisplayAlert(string, string, string)' is obsolete: Useing DisplayAlertAsync instead
62+
// await DisplayAlert("Update Available",$"Please update to version {latestGitHubVersion}.","OK");
63+
await DisplayAlertAsync("✨Update Available", $"Please update to version {latestGitHubVersion}. To download the newest version. Click on Release.", "OK");
64+
65+
}
6866
else
6967
{
7068
// Already up to date

MainPage.xaml

Lines changed: 50 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
Margin="0"
7171
SemanticProperties.Hint="Counts the number of times you click"
7272
Clicked="OnCounterClicked"
73-
HorizontalOptions="CenterAndExpand" />
73+
HorizontalOptions="Center" />
7474

7575
<Label
7676
x:Name="SelectedItemLabel"
@@ -87,35 +87,67 @@
8787

8888
</StackLayout>
8989

90-
<ListView
91-
x:Name="MyListView"
90+
91+
<CollectionView
92+
x:Name="CollectionView"
9293
FlowDirection="LeftToRight"
9394
VerticalOptions="Fill"
9495
VerticalScrollBarVisibility="Never"
9596
HorizontalOptions="Fill"
96-
ItemSelected="MyListView_ItemSelected"
97+
SelectionMode="Single"
9798

99+
98100
>
99-
<ListView.ItemTemplate>
100-
101+
102+
103+
104+
<CollectionView.ItemTemplate>
101105
<DataTemplate>
102106

103-
<TextCell
104-
Text="{Binding}"
107+
<Border
108+
Stroke="Aqua"
109+
StrokeShape="RoundRectangle 40,0,0,40"
110+
111+
Padding="16,8"
105112

106-
TextColor="#00FF00"
107113

108-
></TextCell>
109-
110-
</DataTemplate>
111-
112-
</ListView.ItemTemplate>
113-
114-
</ListView>
114+
>
115+
116+
<Label
117+
Text="{Binding}"
118+
FontSize="15"
119+
FlowDirection="LeftToRight"
120+
x:Name="Mybutteon"
121+
122+
TextColor="#00FF00">
123+
124+
<Label.GestureRecognizers>
125+
126+
<TapGestureRecognizer
127+
128+
Tapped="OnBTNClicked"
129+
130+
/>
131+
</Label.GestureRecognizers>
132+
133+
</Label>
134+
135+
136+
</Border>
115137

138+
</DataTemplate>
139+
</CollectionView.ItemTemplate>
140+
141+
</CollectionView>
142+
143+
144+
145+
146+
147+
116148
<Label
117-
Text=" "
118-
FontSize="Small"
149+
Text=""
150+
FontSize="15"
119151
></Label>
120152

121153
</VerticalStackLayout>

0 commit comments

Comments
 (0)