I started working on a clock with the layout library, to ideally be able to use the clock on both Bangles. Now I wonder how the expected way is to deal with widgets. If I call drawWidgets() after the layout.render(), it works perfectly, but if I call render() after, it overrides the widgets. How is the expected way to deal with this? I searched a bit around in the tutorials and library docs but wasn't able to find it.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hello there.
I started working on a clock with the layout library, to ideally be able to use the clock on both Bangles. Now I wonder how the expected way is to deal with widgets. If I call drawWidgets() after the layout.render(), it works perfectly, but if I call render() after, it overrides the widgets. How is the expected way to deal with this? I searched a bit around in the tutorials and library docs but wasn't able to find it.