diff --git a/.gitignore b/.gitignore index 68f4899..fadf081 100644 --- a/.gitignore +++ b/.gitignore @@ -350,4 +350,5 @@ MigrationBackup/ .ionide/ .DS_Store -.idea/ +# Rider +.idea diff --git a/VirtualListView/VirtualListView.csproj b/VirtualListView/VirtualListView.csproj index 04f3bce..258a9a0 100644 --- a/VirtualListView/VirtualListView.csproj +++ b/VirtualListView/VirtualListView.csproj @@ -1,6 +1,6 @@ - net8.0-android;net8.0-ios;net8.0-maccatalyst + net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst $(TargetFrameworks);net8.0-windows10.0.19041 true diff --git a/VirtualListView/VirtualListViewHandler.cs b/VirtualListView/VirtualListViewHandler.cs index 06dd620..6ea1977 100644 --- a/VirtualListView/VirtualListViewHandler.cs +++ b/VirtualListView/VirtualListViewHandler.cs @@ -4,6 +4,7 @@ namespace Microsoft.Maui; public partial class VirtualListViewHandler { + #if ANDROID || IOS || MACCATALYST || WINDOWS public static new IPropertyMapper ViewMapper = new PropertyMapper(Handlers.ViewHandler.ViewMapper) { [nameof(IVirtualListView.Adapter)] = MapAdapter, @@ -147,5 +148,5 @@ public static void MapHorizontalScrollbarVisibility(VirtualListViewHandler handl { handler?.UpdateHorizontalScrollbarVisibility(virtualListView.HorizontalScrollbarVisibility); } - +#endif } \ No newline at end of file