Hook for redraw event in Blackberry

Posted by Bendlas on Stack Overflow See other posts from Stack Overflow or by Bendlas
Published on 2010-05-26T12:47:04Z Indexed on 2010/05/26 12:51 UTC
Read the original article Hit count: 337

Filed under:
|

Is there a way to add a redraw callback to a live screen object, i.e. not via inheritance?


Reasoning:
I want to draw an overlay from an extension for widget sdk (substituting defunct position:absolute), so the screen is created by the bbwp stub.

I can get it by

Ui.getUiEngine().getActiveScreen()

and draw on it quite nicely, but I need a way to redraw when appropriate.


Note:
I've abandoned the approach to push the overlay as a screen, because i couldn't make it transparent / find a way to pass events through.

© Stack Overflow or respective owner

Related posts about blackberry

Related posts about java-me