startService与bindService混合使用对Service生命周期的影响

一、正常情况: (1)单独使用startService(): onCreate()->onStartCommand()->Service running->onDestroy()->Service shut down (2)单独使用bindService(): onCreate()->onBind()->Clients are bound to service->onUnbind()->onDes
相关文章
相关标签/搜索