K Merle
02/15/2022, 5:55 PMAlex Vanyo
02/15/2022, 6:08 PMnavigation-compose
, check if the current `NavBackStackEntry`’s Lifecycle
is RESUMED
After the first tap navigates, NavBackStackEntry
will no longer be RESUMED
, which allows you to filter the second tap’s navigation request.
An example of that is here:
https://github.com/android/compose-samples/blob/e840fb90607069eb431f68d5291f03f400[…]k/app/src/main/java/com/example/jetsnack/ui/JetsnackAppState.ktK Merle
02/15/2022, 6:43 PM