Skip to content

The project is a test project that implements and test Jetpack Compose for Wear OS app with API request (dynamic list), Hilt and Room Database

Notifications You must be signed in to change notification settings

NicosNicolaou16/SampleWearOSComposeWithList

Repository files navigation

The project is a test project that implements and test Jetpack Compose for Wear OS app with API request (dynamic list), Hilt and Room Database.

Similar project with (Dart Language)

https://github.com/NicosNicolaou16/SampleWearOSWithList

This Project contains:

For Wear 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
KSP
Offline

References/Tutorials Follow/For Manifest Setup

https://medium.com/flutter-community/flutter-building-wearos-app-fedf0f06d1b4
https://developer.android.com/training/wearables/compose

Setup in Manifest

<manifest>

    <uses-feature android:name="android.hardware.type.watch" />

    <application>
        <!--other code here-->

        <!--Optional-->
        <meta-data android:name="com.google.android.wearable.standalone" android:value="true" />

        <!--other code here-->
    </application>
</manifest>

Check my article

https://medium.com/@nicosnicolaou/standalone-wear-os-application-jetpack-compose-and-flutter-5a37f4775ed8

Feeds/Urls/End Point (parsing some data from response)

(Links References for Ends Points)

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.20
Gradle version: 8.6.1