jamesmontemagno / Xamarin.Forms-PullToRefreshLayout

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

Purpose of IsPullToRefreshEnabledProperty? #42

Closed JunkyXL86 closed 4 years ago

JunkyXL86 commented 6 years ago

Setting IsPullToRefreshEnabledProperty to false seems to not affect anything. You can still pull the refresher down. I was expecting to happen nothing when you try to pull down. Also the refresher appears even when there is no RefreshCommand set. That makes imo no sense, as it does nothing but showing an animating icon.

kchan4 commented 6 years ago

I have the same problem on android even setting IsPullToRefreshEnabledProperty it still allow for refreshing :(

Welchen commented 6 years ago

Running into the same problem myself.

nielscup commented 6 years ago

I had the same problem when setting IsPullToRefreshEnabled to false in code. The first time it was disabled but reloading the same page it got enabled again magically, even when explicitly setting it to false. I eventually solved it by binding the IsPullToRefreshEnabled property, kind of weird but then it works correctly.

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