RxDownload icon indicating copy to clipboard operation
RxDownload copied to clipboard

关于任务的全部开始 暂停问题?

Open ganzhex2019 opened this issue 4 years ago • 4 comments

比如下载4个任务 默认是3个任务 在下载过程中 前3个任务在下载中 当点击全部暂停时 在等待的那个任务自动开始了 请问怎么解决

ganzhex2019 avatar Mar 12 '20 06:03 ganzhex2019

// RxDownloadRecorder.stopAll() 上面这个 stopAll 不知哪里有问题 ?
用的下面 这个循环 单个暂停的

            RxDownloadRecorder.getAllTask()

                    .subscribeBy {
                        LogUtils.e("" + it)
                        for (task in it){
                            task.task.createTaskManager().stop()
                        }
                    }

ganzhex2019 avatar Mar 12 '20 07:03 ganzhex2019

应该是个bug,晚点修复

ssseasonnn avatar Mar 13 '20 01:03 ssseasonnn

应该是个bug,晚点修复

现在还是有这个问题 有时间修复下吗

BigBigDeBoy avatar Jun 14 '20 04:06 BigBigDeBoy

现在只能遍历stop了?我也遇到这个bug 了

BigBigDeBoy avatar Jun 14 '20 04:06 BigBigDeBoy