/// <summary>
 /// Refresh ViewModel items asynchronous
 /// </summary>
 public async Task RefreshData(bool isNetworkAvailable)
 {
     var refreshTasks = new Task[]
     {
         TimesOfIndiaModel.RefreshItems(isNetworkAvailable),
         TheHinduModel.RefreshItems(isNetworkAvailable),
         HindustanTimesModel.RefreshItems(isNetworkAvailable),
     };
     await Task.WhenAll(refreshTasks);
 }
Beispiel #2
0
 /// <summary>
 /// Refresh ViewModel items asynchronous
 /// </summary>
 public async Task RefreshData(bool isNetworkAvailable)
 {
     var refreshTasks = new Task[]
     {
         NdtvModel.RefreshItems(isNetworkAvailable),
         TimesOfIndiaModel.RefreshItems(isNetworkAvailable),
         IndiaTodayModel.RefreshItems(isNetworkAvailable),
         SifySportsModel.RefreshItems(isNetworkAvailable),
         TheHinduModel.RefreshItems(isNetworkAvailable),
         IbnLiveModel.RefreshItems(isNetworkAvailable),
     };
     await Task.WhenAll(refreshTasks);
 }