Open hscissors opened 1 year ago
No way to do this, no.
Could be a fun idea, although the property would be part of all destinations of the graph and not really of the NavGraph itself, since when using this annotation, some destination could override and pass true
as showBottomNav
.
Is there any way define custom properties on a graph, and then check them as part of the
NavController.currentDestination
?For example:
and then something like:
Edit: Or if there is a way to do the same for the
@Destination
annotation, which probably would be better