The hierarchy of flows is as follows: StateFlow -> SharedFlow -> Flow. So you can't really cast it, instead you should use the stateIn() ...
確定! 回上一頁