The project is a test project that implements and test Jetpack Compose for Android TV OS app with API request (dynamic list), Hilt and Room Database.
For Android TV OS support
Compose
Hilt
Room Database
Coroutines
Kotlin ktx
MVVM
Support kapt and ksp (ksp only setup for Room Database)
minifyEnabled, shrinkResources, R8 are enabled
Gradle Kotlin DSL
Repository
Offline
https://github.com/NicosNicolaou16/SampleFlutterTVApp
https://developer.android.com/training/tv/playback/compose
https://developer.android.com/jetpack/compose/touch-input/focus/react-to-focus
https://stackoverflow.com/questions/76281554/android-jetpack-compose-tv-focus-restoring
<manifest>
<uses-feature android:name="android.software.leanback" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<application android:banner="@mipmap/ic_launcher">
<!--other code here-->
<activity>
<!--other code here-->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>
<!--other code here-->
</application>
</manifest>
https://medium.com/@nicosnicolaou/android-tv-application-jetpack-compose-and-flutter-f4decfa765c6
https://github.com/r-spacex/SpaceX-API (GitHub)
https://docs.spacexdata.com/?version=latest (Postman)
Target SDK version: 34
Minimum SDK version: 27
Kotlin version: 2.0.0
Gradle version: 8.4.1