bindService lifetime Activity By bindService started service , and did not call unbindService method, when the Activity is closed, the test found that Service has terminated , that is, Activity closed, bound Service automatically closed. This is the case when I tested negligence or what ?
------ Solution ---------------------------------------- ----
Activity bundled service, life cycle with this Activity as ~
------ Solution -------------------- ------------------------
this service and activity bound together , service and activity with the total death . This is the meaning of bindservice
------ Solution ---------------------------------- ----------
XIEXIERLOUZHUFENXIANG ...............
------ eference ---------- -----------------------------
Thank you .
If it is not bound Service , activity and service lifetime of the lifetime of no contact it ?
没有评论:
发表评论