Lifecycle hook

Report a typo

Fill in the state name when the UI is not only visible but also interactible to user.

lifecycleScope.launch {
    viewLifecycleOwner.repeatOnLifecycle(_______________________) {
        // UI is visible here…
    }
}
Enter a short text

Create a free account to access the full topic