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
lakshman9687
Posts: 243
Registered: ‎07-22-2011
My Device: BlackBerry Z10
My Carrier: AirTel

Re: Invalidating the previous screen

Hi,

 

In your case if you modifi any thing in second screen(it means top of the stack) and go back to first screen so you have to write that method in first screen if(attached) and one more thing this method is executed at the time of pushing also for suppose the above condition is true then you can override onExpose method also it will work when ever the screen regain the focus(i.e if it come back from any other screen).

 

 

Regards,

Lakshman K

----------------------------------------------------------
Feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.

Please use plain text.