Commit b919075
committed
Refactor HomePageAdapter for performance and native UX
- Replaced C# event delegates with native click/long-click interfaces in ViewHolder for all song actions
- Programmatically built item layout using Material Design components for improved appearance and performance
- Optimized expand/collapse logic for efficient UI updates
- Moved DiffUtil calculation to background thread for responsiveness
- Improved disposal and resource management in adapter
- Centralized song action handling with instant feedback and haptics
- Updated TransitionActivity to use GlobalLibraryStatsFragment
- Removed unused SongsToWatchSource enum and cleaned up code1 parent ac8dc6e commit b919075
File tree
2 files changed
+324
-616
lines changed- Dimmer/Dimmer.Droid/ViewsAndPages/NativeViews
- Activity
- Adapters
2 files changed
+324
-616
lines changedLines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
516 | | - | |
517 | | - | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
518 | 523 | | |
519 | | - | |
520 | 524 | | |
521 | 525 | | |
522 | 526 | | |
| |||
0 commit comments