Make the Refresh View Respect Command CanExecute and add Refreshing event (#7866)
authorShane Neuville <shneuvil@microsoft.com>
Thu, 17 Oct 2019 06:44:25 +0000 (00:44 -0600)
committerGitHub <noreply@github.com>
Thu, 17 Oct 2019 06:44:25 +0000 (00:44 -0600)
commitf9114b1306f2896cce07d358725f63ce6ab8cac5
tree60092142932dbf087bd909e97887824fdb2bf0b4
parent10b3d774c7650d43b17726bc87590ea60240e680
Make the Refresh View Respect Command CanExecute and add Refreshing event (#7866)

* Make Refresh View respect Command CanExecute

* - force isrefreshing false when isenabled fasle
- Add IsRefreshing Event

* - shift command execution up to xplat code

* - fix ui test

* - cleanup

* - add additional check

* Update Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue7803.xaml.cs

* - fix flag
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue7803.xaml [new file with mode: 0644]
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue7803.xaml.cs [new file with mode: 0644]
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/RefreshViewTests.cs
Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
Xamarin.Forms.Core.UnitTests/RefreshViewTests.cs [new file with mode: 0644]
Xamarin.Forms.Core.UnitTests/Xamarin.Forms.Core.UnitTests.csproj
Xamarin.Forms.Core/RefreshView.cs
Xamarin.Forms.Platform.Android/Renderers/RefreshViewRenderer.cs
Xamarin.Forms.Platform.UAP/RefreshViewRenderer.cs
Xamarin.Forms.Platform.iOS/Renderers/RefreshViewRenderer.cs