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

Posts: 32
Registered: ‎11-21-2008
My Device: Not Specified

Is reusing a screen a good thing?

I'm looking at some code written to implement a Wizard.  The code creates a single screen which it changes the contents of as the wizard progresses through its pages.  Is there a benefit to this?


Would it not be better to have multiple screens and push the one screen that is current needed on?


Are screens destroyed when they are poped?




Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Is reusing a screen a good thing?

I wouldn't constrain your Wizard to fit into a specific method of using Screens.  Given that your are unlikely to be doing any heavy processing and will probably spend most of your time waiting for user input, I suspect that there is little benefit in reusing a Screen.