RadListView Pull to Refresh
Pull-to-refresh allows you to implement a mechanism for refreshing ListView's content upon user's request. The request is done by swiping (pulling) down the list and releasing it. This experience is common in many mobile apps and is used in scenarios where a list needs to be updated with the most recent changes.
Using Pull-to-Refresh with RadListView for Angular
To enable the pull-to-refresh feature you need to follow the steps outlined below:
- Set the
pullToRefreshproperty onRadListViewto true. - Provide a handler for the
pullToRefreshInitiatedwhich is fired when the end user requests a data refresh. - Call the
notifyPullToRefreshFinished()method onRadListViewwhen the data request has been finished and the list has been updated.
The following template demonstrates a simple scenario in which the pull-to-refresh feature is used: