Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reference https://www.jetpackcompose.app/snippets/OverlayService #7

Open
tberghuis opened this issue Oct 13, 2022 · 6 comments
Open

Comments

@tberghuis
Copy link
Owner

No description provided.

@tberghuis
Copy link
Owner Author

service override onCreate call showOverlay

@tberghuis
Copy link
Owner Author

remove global state objects, create the instance in the service class
onStartCommand just updates mutablestateflow

double check onStartCommand after onCreate for service

@tberghuis
Copy link
Owner Author

access state from LocalXxxService.current.state.xxxxx

@tberghuis
Copy link
Owner Author

@tberghuis
Copy link
Owner Author

@tberghuis
Copy link
Owner Author

removeView in service onStop??? or onDestroy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant