Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Hithredin
Posts: 404
Registered: ‎06-03-2010
My Device: Z10 Red

PaneManager Update title event

[ Edited ]

Hi!

 

Does anybody has used the PaneManager system of OS6 ?

 

I would like to update my pane Field when it become visible (after a Pane has jumped to another).

 

But:

- There is no Event to register on PaneManagerView or Controller

- The Pane method onVisibilityChange or sublayout are not called

- The Title Field onFocus() method is not called (just called a first time when the Title bar get the focus, but when moving to another title the focus remains at the first title).

 

The only thing that could work, I think, is starting a thread that check each 100ms if the PaneManagerView is animating and if true we update the " previousIndex()-1" of the PaneManagerModel. And then telling the Pane Field to update itself..............................................