WearOS WatchFaceKotlin new AndroidX libraries

93 views Asked by At

I had a look at the new way of creating watchfaces for Wear OS. https://github.com/android/wear-os-samples/tree/main/WatchFaceKotlin

In my case I do not know beforehand how many complications a watch face will have, in the documentation here it says that dynamic creation of complications is not possible. But you should be able to disable and enable complications with ComplicationSlotsUserStyleSetting.

There is hardly any understandable documentation about this. How would that work?

I tried by setting a userStyle, but it does not seem to influence the .enabled property of a Complication in the ComplicationSlotManager.

Any help would be appreciated!

0

There are 0 answers