AndroidX TV libraries

Most AndroidX libraries can be used with Android TV. Use Architecture Components such as ViewModel, for managing lifecycle-aware UI data, and Room to integrate with local SQLite databases just the same as you would for mobile.

Apps developed for Android TV OS should use Compose for building modern responsive UIs. Combined with ViewModel, this allows you to share the majority of your application's logic between form factors.

For details, see Use Jetpack Compose on Android TV.