jamesmontemagno / Xamarin.Forms-PullToRefreshLayout

Pull To Refresh a ScrollView or ListView in Xamarin.Forms
218 stars 49 forks source link

ExecuteRefreshCommand runs synchronously? #38

Closed PaulGH closed 4 years ago

PaulGH commented 6 years ago

Hi, just running thru the code and noticed that the intellisense is indicating that the ExecuteRefreshCommand runs synchronously because its missing an await. "This async method lacks await operators..." Is this a legit issue? Thanks

Miiite commented 5 years ago

It's probably just that james used some kind of await Task.Delay at some point of the project. But being in the TestViewModel class, it's not an issue linked to the library, just a syntax thing of the sample project. Not really relevant here.

jamesmontemagno commented 4 years ago

Please use the RefreshView as this is officially deprecated now https://docs.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/refreshview