最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

kotlin - How to preview Wear OS complications in Android Studio? - Stack Overflow

programmeradmin0浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论