TV Provider
Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |
---|---|---|---|---|
April 9, 2025 | - | - | 1.1.0-beta01 | - |
Declaring dependencies
To add a dependency on TVProvider, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.
Add the dependencies for the artifacts you need in the build.gradle
file for
your app or module:
Groovy
dependencies { implementation "androidx.tvprovider:tvprovider:" }
Kotlin
dependencies { implementation("androidx.tvprovider:tvprovider:") }
For more information about dependencies, see Add build dependencies.
Feedback
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.
Version 1.1.0
Version 1.1.0-beta01
April 9, 2025
androidx.tvprovider:tvprovider:1.1.0-beta01
is released. Version 1.1.0-beta01 contains these commits.
API Changes
- Fixed a crash in
PreviewChannelHelper.getAllChannels()
. (I5041f)
Bug Fixes
- This library now uses JSpecify nullness annotations, which are type-use. Kotlin developers should use the following compiler arguments to enforce correct usage:
-Xjspecify-annotations=strict
,-Xtype-enhancement-improvements-strict-mode
. (I4fcdf, b/326456246)
External Contribution
- Removed
RestrictTo(LIBRARY)
annotation fromTvContractCompact.PreviewProgramColumns
interface for public access of aspect ratio. (Id610a, b/138150076) - Removed
RestrictTo(LIBRARY)
annotation fromPreviewProgram.PROJECTION
andWatchNextProgram.PROJECTION
for making them public (I04256, b/138150076)
Version 1.1.0-alpha01
August 19, 2020
androidx.tvprovider:tvprovider:1.1.0-alpha01
is released. Version 1.1.0-alpha01 contains these commits.
Bug Fixes
- PreviewChannelHelper was made backward compatible with older Android API versions (<26) by doing a no-op now. (aosp/1310579, b/136123939)
- PreviewChannel now handles the nullability in the
setDescription
method. (aosp/1310577, b/119800858)