From 7e524ddb2deb536b86e7b2d2daa9886a2923af55 Mon Sep 17 00:00:00 2001 From: roubachof Date: Mon, 15 Jan 2024 12:11:11 +0100 Subject: [PATCH] updated to .net7, sample to .net8, added update layout command --- .../Domain/Silly/SillyDudeService.cs | 2 +- Maui/MauiSample/MauiProgram.cs | 7 +-- Maui/MauiSample/MauiSample.csproj | 2 +- .../Presentation/Views/GridPage.xaml | 60 +++++++++---------- .../Renderers/CollectionViewRenderer.cs | 2 + .../Platforms/MacCatalyst/PlatformClass1.cs | 7 --- .../Platforms/Tizen/PlatformClass1.cs | 9 --- .../Platforms/Windows/PlatformClass1.cs | 7 --- .../iOS/Renderers/CollectionViewRenderer.cs | 2 + Maui/Sharpnado.CollectionView.Maui/ReadMe.md | 2 +- .../Sharpnado.CollectionView.Maui.csproj | 20 ++++--- .../RenderedViews/CollectionView.cs | 6 ++ 12 files changed, 57 insertions(+), 69 deletions(-) delete mode 100644 Maui/Sharpnado.CollectionView.Maui/Platforms/MacCatalyst/PlatformClass1.cs delete mode 100644 Maui/Sharpnado.CollectionView.Maui/Platforms/Tizen/PlatformClass1.cs delete mode 100644 Maui/Sharpnado.CollectionView.Maui/Platforms/Windows/PlatformClass1.cs diff --git a/Maui/MauiSample/Domain/Silly/SillyDudeService.cs b/Maui/MauiSample/Domain/Silly/SillyDudeService.cs index 79325e6..471c0a9 100644 --- a/Maui/MauiSample/Domain/Silly/SillyDudeService.cs +++ b/Maui/MauiSample/Domain/Silly/SillyDudeService.cs @@ -35,7 +35,7 @@ public SillyDudeService(ErrorEmulator errorEmulator) #if LOCAL_DATA "will_ferrell.jpg", #else - "https://news.usc.edu/files/2017/03/Will-Ferrell-Step-Brothers_Horizontal_web-824x549.jpg", + "https://cdn.britannica.com/43/219743-050-DA91906B/American-actor-and-writer-Will-Ferrell-2015.jpg", #endif 4, string.Empty, diff --git a/Maui/MauiSample/MauiProgram.cs b/Maui/MauiSample/MauiProgram.cs index 08f7427..51400ce 100644 --- a/Maui/MauiSample/MauiProgram.cs +++ b/Maui/MauiSample/MauiProgram.cs @@ -1,9 +1,4 @@ -using MauiSample.Domain.Silly; -using MauiSample.Infrastructure; -using MauiSample.Presentation.Navigables; -using MauiSample.Presentation.Navigables.Impl; - -using Sharpnado.CollectionView; +using Sharpnado.CollectionView; using Sharpnado.Tabs; namespace MauiSample; diff --git a/Maui/MauiSample/MauiSample.csproj b/Maui/MauiSample/MauiSample.csproj index 7b4e117..553df73 100644 --- a/Maui/MauiSample/MauiSample.csproj +++ b/Maui/MauiSample/MauiSample.csproj @@ -1,7 +1,7 @@  - net6.0-ios;net6.0-android + net8.0-ios;net8.0-android Exe diff --git a/Maui/MauiSample/Presentation/Views/GridPage.xaml b/Maui/MauiSample/Presentation/Views/GridPage.xaml index 613d671..5003e65 100644 --- a/Maui/MauiSample/Presentation/Views/GridPage.xaml +++ b/Maui/MauiSample/Presentation/Views/GridPage.xaml @@ -28,9 +28,9 @@ + Background="{StaticResource DarkSurface}"> + Background="{StaticResource DarkSurface}"> + Background="{StaticResource DarkSurface}"> + VerticalOptions="Fill" + IsClippedToBounds="False" + TaskLoaderNotifier="{Binding SillyPeopleLoaderNotifier}"> + Source="leftarrow.png" />