//进度条代码 if (progessReporter != null) { DownloadBytesProgress args = new DownloadBytesProgress(urlToDownload, receivedBytes, totalBytes); progessReporter.Report(args); }其中的这段代码
//进度条代码 if (progessReporter != null) { DownloadBytesProgress args = new DownloadBytesProgress(urlToDownload, receivedBytes, totalBytes); progessReporter.Report(args); }
progessReporter 这个是什么东西
progessReporter
DownloadBytesProgress 这个是从哪里来的百思不得其解。请教一下各位道友
DownloadBytesProgress
自己搜索一下能有多难。
https://github.com/xamarin/recipes/blob/master/cross-platform/networking/download_progress/AsyncProgressReporting.Common/DownloadBytesProgress.cs
希望对你有所帮助.