Skip to content
This repository has been archived by the owner on May 23, 2020. It is now read-only.

Lifecycle events for Services (feature request) #50

Closed
damianw opened this issue Mar 23, 2016 · 3 comments
Closed

Lifecycle events for Services (feature request) #50

damianw opened this issue Mar 23, 2016 · 3 comments

Comments

@damianw
Copy link

damianw commented Mar 23, 2016

Adding (Intent)Service event listeners would be extremely convenient for services which depend on resources like wake locks, location updates, or other resources which persist for the lifetime of a Service and compose well with the Service lifecycle.

Some options are:

onConfigurationChanged
onRebind
onStartCommand
onCreate
onLowMemory
onStart
onTaskRemoved
onBind
onTrimMemory
onUnbind
onDestroy
onStartCommand (IntentService)
@dlew
Copy link
Contributor

dlew commented Mar 25, 2016

That seems reasonable to me. Next time we're slated for a navi release I'll look into adding it.

@lujop
Copy link

lujop commented May 19, 2016

It will usefull that onCreate, and onDestroy will be interoperable with existing NaviComponent and be able to make composible components to be used with activities and services.

@dlew
Copy link
Contributor

dlew commented Oct 25, 2018

Closing for lack of activity.

@dlew dlew closed this as completed Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants