我有一个活动,它将几个上传过程放入 IntentService 的队列中。现在我想显示一个挂起和开始上传的列表,以及一个停止上传的按钮。
基于这个问题Asking an IntentService for information about its queue我开始实现一个外部队列,但到目前为止我不知道如何停止特定任务。
有没有更好的方法来管理 IntentService 的队列?
我有一个活动,它将几个上传过程放入 IntentService 的队列中。现在我想显示一个挂起和开始上传的列表,以及一个停止上传的按钮。
基于这个问题Asking an IntentService for information about its queue我开始实现一个外部队列,但到目前为止我不知道如何停止特定任务。
有没有更好的方法来管理 IntentService 的队列?