summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.iOS
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.iOS')
-rw-r--r--Xamarin.Forms.Platform.iOS/Renderers/ListViewRenderer.cs11
1 files changed, 4 insertions, 7 deletions
diff --git a/Xamarin.Forms.Platform.iOS/Renderers/ListViewRenderer.cs b/Xamarin.Forms.Platform.iOS/Renderers/ListViewRenderer.cs
index 07025c70..39136327 100644
--- a/Xamarin.Forms.Platform.iOS/Renderers/ListViewRenderer.cs
+++ b/Xamarin.Forms.Platform.iOS/Renderers/ListViewRenderer.cs
@@ -1076,14 +1076,11 @@ namespace Xamarin.Forms.Platform.iOS
public override void ViewWillAppear(bool animated)
{
- base.ViewWillAppear(animated);
+ if (!_list.IsRefreshing || !_refresh.Refreshing) return;
- if (_list.IsRefreshing && _refresh.Refreshing)
- {
- // Restart the refreshing to get the animation to trigger
- UpdateIsRefreshing(false);
- UpdateIsRefreshing(true);
- }
+ // Restart the refreshing to get the animation to trigger
+ UpdateIsRefreshing(false);
+ UpdateIsRefreshing(true);
}
protected override void Dispose(bool disposing)