This will still require the developer to keep a prevVal to compare against.
I'd much rather the layout manger figured out when an item had been changed / not changed.
It would make the apps much easier to write.
Also on the B2 I have noticed you dont get flicker so you can code as if its not a problem.
On the B1 you either have to use buffered screen writing (uses CPU) and memory or minimise flicker by shadow variables for the previous value to compare against.
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.
This will still require the developer to keep a prevVal to compare against.
I'd much rather the layout manger figured out when an item had been changed / not changed.
It would make the apps much easier to write.
Also on the B2 I have noticed you dont get flicker so you can code as if its not a problem.
On the B1 you either have to use buffered screen writing (uses CPU) and memory or minimise flicker by shadow variables for the previous value to compare against.