Marko Novakovic
08/12/2021, 4:44 PMColton Idle
08/12/2021, 4:47 PMpepos
08/12/2021, 5:14 PMUiEvent is broadcasting using Flow to whatever class is interested on the events
• I have another class, lets say a navigation manager, that is listening for all the `UiEvent`s coming from UI user interaction, and decides when to perform the navigation action. This class knows that once X navigation is made, it doesn’t need to continue listening for those `UiEvent`s and just ignore the subsequent onesAlex Vanyo
08/12/2021, 5:42 PMLifecycle is resumed, and if not resumed, disregard the request to navigate.
Calling navController.navigate will synchronously update the NavBackStackEntry to no longer be resumed, which allows handling cases like this where multiple taps happen back-to-back.Marko Novakovic
08/12/2021, 6:10 PMMarko Novakovic
08/12/2021, 6:10 PM