j

    Justin Tullgren

    1 year ago
    Whats the recommended way to have screens without scaffold views when they are being loaded in a
    NavHost
    composable which is the
    content
    of a scaffold? Ex. The main screens should all have consistent bottomnav and topappbar but some screens need to go without and these screens are accessed from the main screen. Is this a nav subgraph situation, push the scaffold down into the screens, or something else I am missing? Thanks !
    i

    Ian Lake

    1 year ago
    You should be using your current destination as the source of truth for whether you should show your bottom nav / app bar: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1602519668357600?thread_ts=1602214739.224900&cid=CJLTWPH7S
    j

    Justin Tullgren

    1 year ago
    thanks for the sample i'll play around!