Esempio n. 1
0
 bool HasWork()
 {
     if (!CrossConnectivity.Current.IsConnected)
     {
         return(false);
     }
     return(downloads.Any(x => x.Value?.State != DownloadHelper.DownloadState.Completed));
 }
Esempio n. 2
0
 bool HasWork()
 {
     if (!Connectivity.NetworkAccess.HasInternet())
     {
         return(false);
     }
     return(downloads.Any(x => x.Value?.State != DownloadHelper.DownloadState.Completed));
 }