Skip to content

Commit 27add61

Browse files
committed
fixed ios refreshview handler
1 parent 5310c55 commit 27add61

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

MPowerKit.VirtualizeListView/MPowerKit.VirtualizeListView.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
2222
<Title>MPowerKit.VirtualizeListView</Title>
23-
<Version>2.0.4</Version>
23+
<Version>2.1.0</Version>
2424
<Authors>MPowerKit,Alex Dobrynin</Authors>
2525
<Description>MAUI Virtualize ListView with smooth scrolling and without platform-specific code</Description>
2626
<Copyright>MPowerKit</Copyright>

MPowerKit.VirtualizeListView/MaciOS/FixedRefreshViewHandler.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public class FixedRefreshViewHandler : ViewHandler<FixedRefreshView, FixedRefres
1717
[FixedRefreshView.ContentProperty.PropertyName] = MapContent,
1818
[FixedRefreshView.RefreshColorProperty.PropertyName] = MapRefreshColor,
1919
[FixedRefreshView.BackgroundProperty.PropertyName] = (h, v) => { },
20+
[FixedRefreshView.BackgroundColorProperty.PropertyName] = (h, v) => { },
2021
[FixedRefreshView.IsPullToRefreshEnabledProperty.PropertyName] = MapIsPullToRefreshEnabled,
2122
[FixedRefreshView.IsEnabledProperty.PropertyName] = MapIsEnabled,
2223
};
@@ -75,11 +76,6 @@ protected virtual void OnRefresh(object? sender, EventArgs e)
7576
else PlatformView.IsRefreshing = false;
7677
}
7778

78-
//public static void MapBackground(FixedRefreshViewHandler handler, FixedRefreshView view)
79-
//{
80-
// handler.PlatformView.RefreshControl.UpdateBackground(view);
81-
//}
82-
8379
public static void MapIsRefreshing(FixedRefreshViewHandler handler, FixedRefreshView refreshView)
8480
{
8581
UpdateIsRefreshing(handler);

0 commit comments

Comments
 (0)