There is any way to create watchfaces with Compose?
j
John Nichol
12/17/2021, 6:30 AM
No there is no way and no plan to build watch faces in Compose. Our Kotlin watch face and complications libraries recently reached verson 1.0.0 and there are good graphical watchface building tools emerging.
🙏 1
y
yschimke
12/17/2021, 11:45 AM
Fundamentally Watchface implementations are quite different from Android Views/Compose UI. They draw to a canvas, while Compose UI does support Canvas elements and it's basically drawing to Canvas underneath (not reusing legacy native views), you would need to implement your own non UI Compose runtime. It's possible, but a lot of work for you to get started, unsupported and unlikely to be as efficient as the code you write to draw each frame in a Watchface.
🙏 1
d
Daniel Shokouhi
12/20/2021, 9:07 PM
What about for Tiles? Any plans to allow Compose in the UI building there?