android / codelab-android-navigation

Apache License 2.0
635 stars 275 forks source link

What Navigation Pattern to follow? #97

Open kaushiknsanji opened 4 years ago

kaushiknsanji commented 4 years ago

The HomeFragment and DeepLinkFragment are treated as Top-level destinations, while the FlowStepFragment, SettingsFragment and the Fragment for Shopping Cart are NOT being treated as Top-level destinations. Irrespective of how they are treated/regarded as, the Navigation Drawer and Bottom Navigation are always shown. Is this correct?

This is confusing because the toolbar icon in the destinations that are NOT Top-level, changes to Up arrow, but we still can see the Bottom Navigation (in portrait mode) and pull the Navigation drawer from the left-side (in other resolutions/qualifiers).

If this pattern is wrong according to you, please let us know how to approach and solve this, in terms of using/leveraging this Navigation component.

Regards, Kaushik