I've been using offscreen bitmaps for independent bits on the screen and for caching things that I don't want to recalculate on each onUpdate.
I haven't seen a need for layers so I'm wondering when to use layers instead of bitmaps?
Thanks
I've been using offscreen bitmaps for independent bits on the screen and for caching things that I don't want to recalculate on each onUpdate.
I haven't seen a need for layers so I'm wondering when to use layers instead of bitmaps?
Thanks
On an analog watchface, layers allow refreshing indicators, like the heart rate, more often than once a minute, even in low-power mode (on a separate layer, without having to worry about the watch hands).
Personally, I also think that using layers results in more straightforward code.
I think the difference between layers and offscreen bitmaps is similar to the difference between using layouts or directly drawing on the dc in onUpdate.