|
|
@ -195,8 +195,11 @@ class DownloadService : BaseService() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class DownloadCount{ |
|
|
|
class DownloadCount{ |
|
|
|
@Volatile public var downloadFinishedCount = 0 // 下载完成的条目数量 |
|
|
|
@Volatile |
|
|
|
@Volatile public var successCount = 0 //下载成功的条目数量 |
|
|
|
var downloadFinishedCount = 0 // 下载完成的条目数量 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Volatile |
|
|
|
|
|
|
|
var successCount = 0 //下载成功的条目数量 |
|
|
|
|
|
|
|
|
|
|
|
fun increaseSuccess(){ |
|
|
|
fun increaseSuccess(){ |
|
|
|
++successCount; |
|
|
|
++successCount; |
|
|
|