Commit 3a37094
Paul Lammertsma
Migrate Leanback sample app to Jetpack Compose for TV
- Rename and modernize the main sample app to 'Leanback-Compose'.
- Upgrade the build system to Gradle 8.7, AGP 8.6.0, and JDK 21, targeting SDK 35.
- Fix UI issues including focus traps in Authentication/Search and initial focus in Vertical Grid/Error screens in the Compose version.
- Modernize the legacy 'Leanback' app (migrated to Media3, targeting SDK 35) to keep it compile-able and runnable on Android 14+.
- Disable background recommendation updates on launch in the legacy app to prevent startup crashes on modern SDKs.
- Update the README.md with a comprehensive migration guide and new 1080p side-by-side comparison screenshots.1 parent 884211b commit 3a37094
1,025 files changed
Lines changed: 330 additions & 311 deletions
File tree
- AccessibilityDemo
- ClassicsKotlin
- LeanbackShowcase
- LeanbackToCompose
- .google
- app
- src
- androidTest/java/com/example/android/tvleanback
- main
- java/com/example/android/tvleanback
- data
- mobile
- model
- ui
- components
- screens
- theme
- res
- drawable-hdpi
- drawable-mdpi
- drawable-nodpi
- drawable-xhdpi
- drawable-xxhdpi
- drawable
- layout
- values-w820dp
- values
- xml
- test/java/com/example/android/tvleanback
- gradle
- wrapper
- screenshots
- after
- before
- Leanback
- app
- screenshots
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments