diff --git a/Xamarin.Forms.Core/ListView.cs b/Xamarin.Forms.Core/ListView.cs index 6325233903c..2fe2fd4f9b5 100644 --- a/Xamarin.Forms.Core/ListView.cs +++ b/Xamarin.Forms.Core/ListView.cs @@ -544,7 +544,7 @@ internal override void OnIsPlatformEnabledChanged() void OnCommandCanExecuteChanged(object sender, EventArgs eventArgs) { - RefreshAllowed = RefreshCommand.CanExecute(null); + RefreshAllowed = RefreshCommand != null && RefreshCommand.CanExecute(null); } static void OnFooterChanged(BindableObject bindable, object oldValue, object newValue)