sk_bruce
10 years agoVisitor
Re-drawing canvas when resuming from screen saver
Hi guys!
I am playing a bit with Image Canvass building a custom grid. I am setting up 2 of them. A more elaborated on in the background (canvas 1) and a simple one that will only display the selector on the top (canvas 2). I am using this approach so the app will move smother and faster on less fortunate devices (older ones).
Everything works fine. But I have a problem when returning form screensaver. The screen is black and I need to redraw canvas 1. If there anything I can do to intercept that event (coming back form screen saver) in order to redraw canvass 1? I am already redrawing canvas1 after I play a video/load a list/etc.
Or maybe I need to use another approach?
Thanks!
I am playing a bit with Image Canvass building a custom grid. I am setting up 2 of them. A more elaborated on in the background (canvas 1) and a simple one that will only display the selector on the top (canvas 2). I am using this approach so the app will move smother and faster on less fortunate devices (older ones).
Everything works fine. But I have a problem when returning form screensaver. The screen is black and I need to redraw canvas 1. If there anything I can do to intercept that event (coming back form screen saver) in order to redraw canvass 1? I am already redrawing canvas1 after I play a video/load a list/etc.
Or maybe I need to use another approach?
Thanks!