Skip to content

Implement LifecycleService in MediaSessionService and DownloadService #187

Description

@yschimke

LifecycleOwner is a lifecycle aware option for Services. There is a base class LifecycleService which manages this, or you can implement LifecycleOwner and use ServiceLifecycleDispatcher

See https://developer.android.com/reference/androidx/lifecycle/LifecycleService https://developer.android.com/reference/androidx/lifecycle/ServiceLifecycleDispatcher

and https://www.daniweb.com/programming/mobile-development/tutorials/537446/android-native-how-to-implement-lifecycleowner-in-a-service

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions