Skip to content

Commit

Permalink
Bumped versions of dependency libraries and updated sample applicatio…
Browse files Browse the repository at this point in the history
…n accordingly
  • Loading branch information
bnoffer committed Oct 2, 2022
1 parent 5389036 commit a64ff46
Show file tree
Hide file tree
Showing 7 changed files with 1,375 additions and 1,210 deletions.
2,543 changes: 1,348 additions & 1,195 deletions Sample/SVGSample.Android/Resources/Resource.designer.cs

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions Sample/SVGSample.Android/SVGSample.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@
<Reference Include="System.Numerics.Vectors" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2515" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.3" />
<PackageReference Include="SkiaSharp">
<Version>2.80.3</Version>
<Version>2.88.2</Version>
</PackageReference>
<PackageReference Include="SkiaSharp.Views.Forms">
<Version>2.88.2</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
9 changes: 6 additions & 3 deletions Sample/SVGSample.iOS/SVGSample.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,13 @@
<Reference Include="System.Numerics.Vectors" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2515" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.3" />
<PackageReference Include="SkiaSharp">
<Version>2.80.3</Version>
<Version>2.88.2</Version>
</PackageReference>
<PackageReference Include="SkiaSharp.Views.Forms">
<Version>2.88.2</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
Expand Down
1 change: 1 addition & 0 deletions Sample/SVGSample/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</Label>
<svg:SvgImage Source="tiger.svg" WidthRequest="100" HeightRequest="100" />
<svg:SvgImage Source="colours.svg" WidthRequest="20" HeightRequest="20" TintColor="#fcd303" />
<Button Text="Click me" Clicked="Button_Clicked" />
</StackLayout>

</ContentPage>
5 changes: 5 additions & 0 deletions Sample/SVGSample/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,10 @@ public MainPage()
{
InitializeComponent();
}

void Button_Clicked(System.Object sender, System.EventArgs e)
{
DisplayAlert("Sample", "Hello world!", "OK");
}
}
}
12 changes: 6 additions & 6 deletions Sample/SVGSample/SVGSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.0" />
<PackageReference Include="SkiaSharp" Version="2.80.3" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2515" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.3" />
<PackageReference Include="SkiaSharp" Version="2.88.2" />
</ItemGroup>
<ItemGroup>
<None Remove="SkiaSharp" />
<None Remove="Resources\" />
<None Remove="Resources\tiger.svg" />
<None Remove="Resources\colours.svg" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\XamExtensionsSvg\XamExtensionsSvg.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\tiger.svg" />
<EmbeddedResource Include="Resources\colours.svg" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\XamExtensionsSvg\XamExtensionsSvg.csproj" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions XamExtensionsSvg/XamExtensionsSvg.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
<None Remove="Xamarin.Forms" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="SkiaSharp" Version="2.80.3" />
<PackageReference Include="SkiaSharp.Views.Forms" Version="2.80.3" />
<PackageReference Include="SkiaSharp" Version="2.88.2" />
<PackageReference Include="SkiaSharp.Views.Forms" Version="2.88.2" />
<PackageReference Include="SkiaSharp.Svg" Version="1.60.0" />
<PackageReference Include="SkiaSharp.Extended" Version="1.60.0" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2196" />
<PackageReference Include="Xamarin.Forms" Version="5.0.0.2515" />
</ItemGroup>
</Project>

0 comments on commit a64ff46

Please sign in to comment.