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…
}
}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…
}
}Create a free account to access the full topic