Skip to content

Commit

Permalink
Add plain net8 target
Browse files Browse the repository at this point in the history
  • Loading branch information
PavloLukianets committed Jan 23, 2024
1 parent d51d5cd commit 8a9b058
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -349,3 +349,6 @@ MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
.DS_Store

# 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
2 changes: 2 additions & 0 deletions 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 @@ -135,5 +136,6 @@ public static void MapIsFooterVisible(VirtualListViewHandler handler, IVirtualLi
{
handler?.InvalidateData();
}
#endif

}

0 comments on commit 8a9b058

Please sign in to comment.