Join Slack
Powered by
When dealing with a StateFlow in ViewModel, stateI...
# flow
l
liminal
12/27/2022, 4:26 PM
When dealing with a StateFlow in ViewModel, stateIn vs collect: the benefit of using stateIn is the “started” param which lets you resubscribe to keep the stream alive on configuration changes. Correct? Any other considerations?
13
Views
Open in Slack
Previous
Next