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
New Contributor
rahul_narkhede
Posts: 9
Registered: ‎03-12-2010
My Device: BlackBerry 8800
My Carrier: Development

Need help for Screen Transitions on Back button

Hi,

 

I am total newbie for BlackBerry Development.  I implemented the slider transistioins for screen by over-riding the sublayout method for the screen class.

 

But now I want to implement the same slider transformation when the screen is popped off from the display stack.  Which function should I over ride and how ?

 

Any help on this would be appreciated.

Please use plain text.
Developer
Developer
CMY
Posts: 1,122
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Need help for Screen Transitions on Back button

close or onClose should work.

Please use plain text.
New Contributor
rahul_narkhede
Posts: 9
Registered: ‎03-12-2010
My Device: BlackBerry 8800
My Carrier: Development

Re: Need help for Screen Transitions on Back button

I tried with onClose()  It didn't seem working.  Does this function get called when i call popScreen function. Or should I use onUnDisplay().

 

Will this function allow me to set  position for the delegate manager of the screen?

Please use plain text.
Developer
Developer
CMY
Posts: 1,122
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Need help for Screen Transitions on Back button

I don't know if either of those functions gets called with popScreen because i call close directly on the screen object.

Please use plain text.