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