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

How can I synchronize data from HealthConnect so that any changes to the data automatically update the UI? #141

Open
om1234ww opened this issue Aug 23, 2024 · 1 comment

Comments

@om1234ww
Copy link

Describe
how can I implement an observer for HealthConnect?

@matinzd
Copy link
Owner

matinzd commented Aug 24, 2024

You can use headless js and WorkManager on Android to periodically run non-UI background tasks.

Here is the example:

1f89c83

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

No branches or pull requests

2 participants