我有两个intentservices
:IntentServiceA
和IntentServiceB
。
在IntentServiceA
运行时,如果我调用startService(IntentServiceB)
,将IntentServiceB
同时运行IntentServiceA
还是等到IntentServiceA
停止?
如果是关于Asynctasks
它会是:直到完成AsyncktaskB
才会开始。AsynctaskA
但是在IntentService
.
我有两个intentservices
:IntentServiceA
和IntentServiceB
。
在IntentServiceA
运行时,如果我调用startService(IntentServiceB)
,将IntentServiceB
同时运行IntentServiceA
还是等到IntentServiceA
停止?
如果是关于Asynctasks
它会是:直到完成AsyncktaskB
才会开始。AsynctaskA
但是在IntentService
.
快速查看源代码表明每个都应该有自己的,IntentService
因此应该同时运行。话虽如此,我不记得曾经尝试过这个。IntentService
HandlerThread