SharedFlow使用emit/tryEmit发射数据,StateFlow内部其实都是调用的setValue。 SharedFlow会挂起直到所有的订阅者处理完成。 为什么我先讲的StateFlow , ...
確定! 回上一頁