ServiceLifecycleObserver
ServiceLifecycleObserver API
onServiceCreated
onServiceCreatedvoid onServiceCreated(Class<? extends Service> cls)
onServiceDestroyed
onServiceDestroyedvoid onServiceDestroyed(Class<? extends Service> cls)
onForegroundStarted
onForegroundStarted void onForegroundStarted(Class<? extends Service> cls)
onForegroundStopped
onForegroundStoppedvoid onForegroundStopped(Class<? extends Service> cls)
Threading
Example
Last updated