// Call the BeginRefresh method to initiate a refresh operation myListView.BeginRefresh();
// Attach an event handler to the Refreshing event myListView.Refreshing += MyListView_Refreshing; // Event handler method to update the data source private async void MyListView_Refreshing(object sender, EventArgs e) { await UpdateDataSourceAsync(); // Call the EndRefresh method to indicate that the refresh operation has completed myListView.EndRefresh(); }These examples are part of the Xamarin.Forms package library, specifically the ListView control in the Xamarin.Forms package.