再请教给位大神一个问题:官网上说service 是再后台运行的,不需要交互。但是又说service如果有耗时的操作会阻塞前台。(Remember that if you do use a service, it still runs in your application's main thread by default, so you should still create a new thread within the service if it performs intensive or blocking operations.) 这不是耍我吗?
再请教给位大神一个问题:官网上说service 是再后台运行的,不需要交互。但是又说service如果有耗时的操作会阻塞前台。(Remember that if you do use a service, it still runs in your application's main thread by default, so you should still create a new thread within the service if it performs intensive or blocking operations.) 这不是耍我吗?