Jung Danny
10/20/2022, 4:15 AMStateFlow
with stateIn
, and you want the flow producer to be active all the time (even when the app is in the background), what coroutine scope should be used?
2. When observing to the above StateFlow
, even though the flow producer would live forever, can you still use repeatOnLifecycle
in the UI to safely unregister?gildor
10/20/2022, 6:02 AMJung Danny
10/20/2022, 10:10 AM