onStart() and onStartCommand() still called in 2.0 and higher

前端 未结 2 602
小鲜肉
小鲜肉 2021-01-12 19:11

According to this blog post and the documentation of onStartCommand() if you have a Service you should implement onStart() and onStartCommand() and in 2.0 and higher only on

2条回答
  •  一向
    一向 (楼主)
    2021-01-12 19:23

    On that blog post, the base implementantions of onStart and onStartCommand are not called. Pressumably, one of them is calling the other.

提交回复
热议问题