private async void RefreshBtn_Click(object sender, RoutedEventArgs e) { RefreshIconRotation.Begin(); await Refresh(); RefreshIconRotation.Stop(); }
/// <summary> /// Start rotating the refresh icon /// </summary> private void StartNetworkActivity() { RefreshIconRotation.Begin(); RefreshIcon.IsTapEnabled = false; }