Android, Jetpack Compose, AndroidDev, Software Architecture.
CATEGORY_BROWSER_GRAPH_ROUTE, FAVORITES_GRAPH_ROUTE, CART_GRAPH_ROUTE, PROFILE_GRAPH_ROUTE, ) Then we add a function which uses a NavController, takes a currentBackStack from it and checks which tab is the last one in the back stack. fun isRouteSelected(route: String): Flow<Boolean> { return