repeatOnLifecycle. block. It's also mentioned in the article by Manuel Vivo that using ... repeatOnLifecycle(Lifecycle.State.STARTED) {.
確定! 回上一頁