REDI-91: MVVM contrast screen (:feature:about:presentation)
Add a deliberately small MVVM About screen: AboutViewModel exposes a StateFlow plus plain public methods (onToggleMvvmNote) with NO Action sealed type and NO Event channel — the explicit contrast to the app's MVI screens. AboutScreen collects state and calls the VM method directly; links open via LocalUriHandler. Static showcase copy lives in the VM as state to demonstrate the StateFlow-as-content shape. aboutGraph + @Serializable AboutRoute + aboutPresentationModule wire it in. A code comment and the README explain why this is MVVM and when each pattern fits.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<resources>
|
||||
<string name="about_title">About</string>
|
||||
<string name="about_architecture_header">Architecture highlights</string>
|
||||
<string name="about_mvvm_header">Why is this screen MVVM?</string>
|
||||
<string name="about_mvvm_hint">Tap to see how this MVVM screen differs from the app\'s MVI screens.</string>
|
||||
<string name="about_links_header">Links</string>
|
||||
<string name="cd_back">Back</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user