Android startService Synchronous?

后端 未结 1 659
醉话见心
醉话见心 2021-01-17 08:12

I can\'t find this anywhere in the documentation:

Is a call to context.startService() synchronous or asynchronous?

相关标签:
1条回答
  • 2021-01-17 08:48

    Asynchronous. It will not even begin doing any work until after you return from whatever callback you are in (e.g., onCreate(), onListItemClick()).

    0 讨论(0)
提交回复
热议问题