Commit ebf1d37
Migrate to Kotlin and Jetpack Compose with modern architecture
Major refactoring to modernize the codebase:
- Migrated all Java activities to Kotlin
- MainActivity.kt with Compose UI
- FilePickerActivity.kt with Compose UI
- ProgressActivity.kt with Compose UI
- Implemented MVVM architecture with ViewModel pattern
- MainViewModel with StateFlow for reactive state management
- FilePickerViewModel for file navigation state
- ProgressViewModel with coroutine-based polling
- Migrated all UI to Jetpack Compose
- Material 3 design system
- Dark theme with Purple80 accent colors
- Custom composables in ui/ package
- Removed legacy XML layouts
- Fixed batch progress bug: When multiple RPA files are selected,
the progress screen now correctly displays batch information
(e.g., "Extracting RPA... (2 of 5)") using ViewModel state
- Improved code organization
- ViewModels in viewmodel/ package
- Composables in ui/ package
- Better separation of concerns
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 086ce97 commit ebf1d37
21 files changed
Lines changed: 2470 additions & 1803 deletions
File tree
- app
- src/main
- java/com/renpytool
- ui
- theme
- viewmodel
- res/layout
- gradle
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
| |||
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
61 | 71 | | |
62 | 72 | | |
63 | 73 | | |
| 74 | + | |
64 | 75 | | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
68 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
69 | 103 | | |
70 | 104 | | |
71 | 105 | | |
| |||
74 | 108 | | |
75 | 109 | | |
76 | 110 | | |
| 111 | + | |
77 | 112 | | |
78 | 113 | | |
79 | 114 | | |
| |||
This file was deleted.
0 commit comments