Yingding Wang
10/14/2022, 1:38 PMWatchFaceConfig
class from the WatchFaceKotlin
example using compose-wear, (https://github.com/yingding/wear-os-examples/blob/main/Wear3KtxWatchFaceConfigExam[…]xample/watchfaceconfigexample/editor/WatchFaceConfigActivity.kt), So far everything works fine, except adding the onClick events to setComplication on top of the WatchFace Bitmap generated from EditorSession. In the original example, two Button views are vaguely put to the whole viewports. How can i do this in compose wear in a more accurate way?
It would be nice to have a EditorSession.renderWatchFaceToComposable(...) -> (@Composable()()->Unit)
function to allow me specify the onClick events.
Any thoughts on this matter?