From dba76b9d0b0d1d50abdbc36567ccd8125dfd0683 Mon Sep 17 00:00:00 2001 From: Don Turner Date: Wed, 3 Dec 2025 22:32:07 +0000 Subject: [PATCH] docs: Add details about feature API modules Expands on the role of feature `:api` modules in the modularization learning journey documentation. Clarifies that `:api` modules expose navigation keys and functions for inter-feature navigation. Also adds a new `impl` row for the implementation details. --- docs/ModularizationLearningJourney.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/ModularizationLearningJourney.md b/docs/ModularizationLearningJourney.md index 73646acef..8f47adf36 100644 --- a/docs/ModularizationLearningJourney.md +++ b/docs/ModularizationLearningJourney.md @@ -108,8 +108,22 @@ Using the above modularization strategy, the Now in Android app has the followin - feature:1,
- feature:2
+ feature1:api,
+ feature2:api
+ ... + + Navigation keys and functions that other features can use to navigate to this feature.
+ For example: The `:topic:api` module exposes a `Navigator.navigateToTopic` function that the + `:interests:impl` module uses to navigate from the `InterestsScreen` to the `TopicScreen` when + a topic is clicked. + + TopicScreen
+ TopicViewModel + + + + feature:1:impl,
+ feature:2:impl
... Functionality associated with a specific feature or user journey. Typically contains UI components and ViewModels which read data from other modules.