To make StateFlow lifecycle aware to replicate this LiveData behaviour, we need to use launchWhenStarted . Have a look: ...
確定! 回上一頁