You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/src/main/java/com/example/nav3recipes/modular/ModularActivity.kt
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,9 @@ import javax.inject.Inject
21
21
* Features (Conversation and Profile) are split into two modules:
22
22
* - api: defines the public facing routes for this feature
23
23
* - impl: defines the entryProviders for this feature, these are injected into the app's main activity
24
-
* The common module defines how the back stack should be created.
24
+
* The common module defines:
25
+
* - how the back stack should be created
26
+
* - a type that should be used by feature modules to inject entryProviders into the app's main activity
25
27
* The app module creates the back stack by supplying a start destination and provides this back stack to the rest of the app module (i.e. MainActivity) and the feature modules.
26
28
*/
27
29
@AndroidEntryPoint
@@ -31,7 +33,7 @@ class ModularActivity : ComponentActivity() {
0 commit comments