From 01e5a68a8d9e9fc65619f2e82e94b66eac92b0b0 Mon Sep 17 00:00:00 2001 From: Vixb Date: Thu, 25 May 2023 08:11:51 +0800 Subject: [PATCH] Replace NiaTopLevelNavigation with TopLevelDestination based on #186 (#723) * Replace NiaTopLevelNavigation with TopLevelDestination based on #186 * Update ModularizationLearningJourney.md --- docs/ModularizationLearningJourney.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ModularizationLearningJourney.md b/docs/ModularizationLearningJourney.md index 32f1c2249..81e35c436 100644 --- a/docs/ModularizationLearningJourney.md +++ b/docs/ModularizationLearningJourney.md @@ -95,7 +95,7 @@ The Now in Android app contains the following types of modules: * The `app` module - contains app level and scaffolding classes that bind the rest of the codebase, such as `MainActivity`, `NiaApp` and app-level controlled navigation. A good example of this is the navigation setup through `NiaNavHost` and the bottom navigation bar setup - through `NiaTopLevelNavigation`. The `app` module depends on all `feature` modules and + through `TopLevelDestination`. The `app` module depends on all `feature` modules and required `core` modules. * `feature:` modules - feature specific modules which are scoped to handle a single responsibility @@ -132,7 +132,7 @@ Using the above modularization strategy, the Now in Android app has the followin Brings everything together required for the app to function correctly. This includes UI scaffolding and navigation. NiaApp, MainActivity
- App-level controlled navigation via NiaNavHost, NiaTopLevelNavigation + App-level controlled navigation via NiaNavHost, NiaAppState, TopLevelDestination