Bug 53539 - Windows ListView "pull to refresh" not implemented
Summary: Windows ListView "pull to refresh" not implemented
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: 2.3.4
Hardware: PC Windows
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-20 13:35 UTC by Taylor Buchanan
Modified: 2017-03-20 15:15 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Taylor Buchanan 2017-03-20 13:35:50 UTC
#### Overview:
The Xamarin.Forms ListView control property "IsPullToRefreshEnabled" does not appear to be handled on UWP.

#### Steps to Reproduce:
1. Add a ListView to a page, set "IsPullToRefreshEnabled" to "True", then bind "RefreshCommand" and "IsRefreshing".

#### Actual Results:
When pulling down on the ListView, nothing happens.

#### Expected Results:
When pulling down on the ListView, the contents should be pushed downward by a loading indicator and the "RefreshCommand" should be triggered.

#### Build Date & Hardware:
Xamarin.Forms 2.3.4.214-pre5 on Windows 10 Enterprise 1607

#### Additional Information:
I checked the source on GitHub and I don't see "IsPullToRefreshEnabled" referenced anywhere in WinRT/UWP, only WP8. A Microsoft sample implementation is provided here: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/XamlPullToRefresh
Comment 1 Paul DiPietro [MSFT] 2017-03-20 15:15:11 UTC
Pull-to-refresh is not natively supported, hence why it isn't implemented. At the moment, I would suggest potentially proposing some implementation of the API (and perhaps reference the sample implementation you linked to) on the evolution forum (https://forums.xamarin.com/categories/xamarin-forms-evolution) so it can be discussed and evaluated by the community.