I am developing an app and it provides complications. I want to see the preview of the complication on different types (e.g. LONG_TEXT
, SHORT_TEXT
and RANGED
etc.) in Android Studio.
Preview is possible for Jetpack Compose using @Preview
annotation for the app, and also possible for Wear Tiles from a different @Preview
annotation. These are working fine and let me see the design in Android Studio. However, I could not find for the complications. Only way to test the implementation is by running it on an emulator or on an actual device, which is time-consuming.
Therefore I am asking, "How to preview Wear OS complications in Android Studio?"
PS: I am using Android Studio Ladybug 2024.2.2