Skip to content

Commit

Permalink
Merge pull request #22 from PavloLukianets/net8-target
Browse files Browse the repository at this point in the history
Add plain net8 target
  • Loading branch information
Redth authored Jun 7, 2024
2 parents da22153 + f68dbb8 commit 79e5718
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -350,4 +350,5 @@ MigrationBackup/
.ionide/
.DS_Store

.idea/
# Rider
.idea
2 changes: 1 addition & 1 deletion VirtualListView/VirtualListView.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows'))">$(TargetFrameworks);net8.0-windows10.0.19041</TargetFrameworks>

<UseMaui>true</UseMaui>
Expand Down
3 changes: 2 additions & 1 deletion VirtualListView/VirtualListViewHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace Microsoft.Maui;

public partial class VirtualListViewHandler
{
#if ANDROID || IOS || MACCATALYST || WINDOWS
public static new IPropertyMapper<IVirtualListView, VirtualListViewHandler> ViewMapper = new PropertyMapper<IVirtualListView, VirtualListViewHandler>(Handlers.ViewHandler.ViewMapper)
{
[nameof(IVirtualListView.Adapter)] = MapAdapter,
Expand Down Expand Up @@ -147,5 +148,5 @@ public static void MapHorizontalScrollbarVisibility(VirtualListViewHandler handl
{
handler?.UpdateHorizontalScrollbarVisibility(virtualListView.HorizontalScrollbarVisibility);
}

#endif
}

0 comments on commit 79e5718

Please sign in to comment.