Hi there, I have an App which runs the main logic ...
# android
j
Hi there, I have an App which runs the main logic and DB access in a Service (or ForegroundService). • What is the preferred way of binding to the service from my Compose UI or ViewModel? Inside a DisposableEffect? • Can I pass data from the Service to the ViewModel directly via e.g. Flows? What happens in case the activity is closed but the service is still pushing updates to the flow? Thank you in advance!
c
Better ask in #compose-android