找考题网-背景图
单项选择题

当调用bindService()方法启动服务时,服务的生命周期是()。

A.onCreate()—onStart()—onBind()—onDestroy()
B.onCreate()—onBind()—onDestroy()
C.onCreate()—onBind()—onunbind—onDestroy()
D.onCreate()—onStart()—onBind()—onunbind()—onDestroy()