結合使用repeatOnLifecycle API 和上面的StateFlow 示例可以幫助您的應用 ... 通過WhileSubscribed(5000) 暴露並通過repeatOnLifecycle(STARTED) 收集.
確定! 回上一頁