Skip to content

Commit 3a37094

Browse files
author
Paul Lammertsma
committed
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

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎AccessibilityDemo/build.gradle‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
buildscript {
44
repositories {
55
google()
6-
jcenter()
6+
mavenCentral()
77
}
88
dependencies {
99
classpath 'com.android.tools.build:gradle:4.1.3'
@@ -15,7 +15,7 @@ buildscript {
1515
allprojects {
1616
repositories {
1717
google()
18-
jcenter()
18+
mavenCentral()
1919
}
2020
}
2121

‎ClassicsKotlin/build.gradle‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ buildscript {
2121

2222
repositories {
2323
google()
24-
jcenter()
24+
mavenCentral()
2525
}
2626

2727
dependencies {
@@ -37,7 +37,7 @@ buildscript {
3737
allprojects {
3838
repositories {
3939
google()
40-
jcenter()
40+
mavenCentral()
4141
}
4242
}
4343

‎Leanback/README.md‎

Lines changed: 0 additions & 130 deletions
This file was deleted.

‎Leanback/app/build.gradle‎

Lines changed: 0 additions & 95 deletions
This file was deleted.

‎Leanback/build.gradle‎

Lines changed: 0 additions & 21 deletions
This file was deleted.

‎Leanback/screenshots/browse.png‎

-623 KB
Binary file not shown.

‎Leanback/screenshots/details.png‎

-373 KB
Binary file not shown.
-408 KB
Binary file not shown.

‎Leanback/screenshots/error.png‎

-596 KB
Binary file not shown.
-34.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)