Skip to content

Compose-first Android architecture demo with type-safe navigation, scoped ViewModels, and subcomponent-based DI.

Notifications You must be signed in to change notification settings

AdamShare/compose-mvvm

Repository files navigation

WIP

[ Application Scope (Singleton Component) ]
|
v
[ Activity ViewModel (Navigation Stack Controller) ]
|
v
+-------------------------+
| Back Stack Entry A      |
|                         |
|   [ View Scope A ]      |
|        |                |
|        v                |
|  +---------------+      |
|  | State Holders |      |  (e.g., ViewModel, StateFlows)
|  +---------------+      |
|        |                |
|        v                |
|  [ CoroutineScope A ]   |
+-------------------------+
|
v
[ Composable A (reads View Scope A state) ]

About

Compose-first Android architecture demo with type-safe navigation, scoped ViewModels, and subcomponent-based DI.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages