Exemple #1
0
 private async Task RefreshAsync()
 {
     Debug.WriteLine("NewsViewModel - RefreshAsync()");
     _eventTracker.PullToRefresh(EventPage.NewsPage);
     IsRefreshing = true;
     try
     {
         await GetNewsAsync(true);
     }
     catch (Exception ex)
     {
         _eventTracker.Error(ex);
     }
     IsRefreshing = false;
 }