Navigation
The Android PoqSDK has 2 different types of navigation depending if it happens between screens of different features (navigation between Activities) or screens within the same feature (navigation between Fragments).
Navigation between Activities
Each feature module exposes a navigator interface where the name is created from the feature name, for example, CartNavigator
. The platform module will implement these interfaces and redirect each method to the main navigator Navigator
, providing in this way the navigation between features.
Navigation between Fragments
When a feature module needs to navigate internally between different screens, it uses Android Jetpack Navigation.