StateFlow 与 LiveData 类似,支持通过 myFlow.value 获取当前状态,如果有这个需求,必须使用 StateFlow. SharedFlow 支持发出和收集重复值,而 ...
確定! 回上一頁