Hi all,
I am wondering if at some point it will be possible for an app to find out which part of the screen needs to be redrawn. My use case is a stop watch. Here, obviously, I need to update the screen very often. (worst case 20x per second). Unfortunately at the point of drawing I am not able to figure out if it is sufficient to redraw only the clock or if I have to draw the complete screen (because a notification is overlapping). This causes my app to hit battery life big time which would be greatly reduce if I would be able to redraw only a small portion of the screen.
My suggestion would be to use something like "dc.isDirty()" which returns true if the screen is overlappend by anything that is not belonging to my app, otherwise false. It would really help!
Is this something the devs could consider for one of the future releases?
Thanks!
Bye