可以通过 lifecycle.coroutineScope 或者 lifecycleOwner.lifecycleScope 的方式获得Lifecycle 对象的协程作用域。 下面的例子展示如何通过 lifecycleOwner.lifecycleScope ...
確定! 回上一頁