Rick Regan
09/13/2021, 1:50 AMScaffold
within a Scaffold
. At the top level it has a Scaffold with a NavHost
in the lambda, and each screen listed in the NavHost (composable
) has a Scaffold (no lambda). I think I see at least one reason why it does this -- to have a single NavHost at the top and to give each screen its own topBar
-- but I wasn't expecting nested Scaffolds to be a thing (I had thought of it, obviously incorrectly, as a once-per-screen construct). In any case, I wanted to confirm that this is the best (only?) way to structure an app when using navigation.K Merle
09/13/2021, 5:37 AM