Anyone know of any tutorials for managing TopAppBa...
# compose
m
Anyone know of any tutorials for managing TopAppBar actions with the nav controller? In the past, we set the supportActionBar and then within each fragment inflated a menu. I’m curious what the equivalent process would be for compose. (short of maintaining one huge view model with flags for when to enable each menu item)
c
I don't really think there's anything because all of the UI should just be driven by some state, and all of the "menu" items are just clicks on a button. No weird onMenuItemClicked or w/e anymore.