Sprint 2 head-start: Room persistence, ProgressViewModel, ProgressScreen
- Room DB (ArtLegendDatabase, SessionDao, SessionEntity) wired up - SessionRepository saves scores and queries last 7 sessions per module - ProgressViewModel exposes sessions as StateFlow - ProgressScreen replaced with real bar chart + session history list - MainActivity now persists each game result to Room on return - build.gradle.kts + gradle.properties: KSP and Room 2.6.1 added Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,3 +6,5 @@ kotlinVersion=1.9.23
|
||||
androidGradleVersion=8.3.0
|
||||
composeBom=2024.09.00
|
||||
composeCompilerExtension=1.5.12
|
||||
kspVersion=1.9.23-1.0.20
|
||||
roomVersion=2.6.1
|
||||
|
||||
Reference in New Issue
Block a user