08-09-2010 08:29 AM
hello i have couple of queries,
my application has around 20-25 screens .. whenever a button is clicked i used to push a new respective screen for that button ..
let say i have 3 buttons that pushes their respective screens when clicked. if i click these buttons one by one and then call for the screen that was already pushed ..what should i do ? shall i push screen again to display it again while it was already in the middle or bottom of stack or what is the standard way? currently i am pushing the new screen
what is the limit of screen in an application stack?...does too many screens in the application stack harms application or can it result in the application crash?
please reply..looking for good solution
08-09-2010 08:32 AM
just push a new instance.
if you are concerned about the number of screens you can pop the current and push a new one.
with so many screens i would suggest that you consider a tabbed view
08-09-2010 08:40 AM
If the screen you pushed is of no use later then pop the old screen before you push the new screen.
08-09-2010 08:46 AM
how many screens can be contained in a stack? does pushing repeated screen again and again will make my app heavy or result in crash or anyway effect performance? lets say if my end user uses app very roughly that can lead to 10,000 screens what is the probability that my app would crash?
Thanks for the previous replies
08-09-2010 08:59 AM
No idea abt stack limit. Pushimg multiple screen will eat your memory and can make your app slow. Yes the app can crash.
This will help you to find how many screens are in the stack.
08-09-2010 09:01 AM
Can you make a diagramtic representation of your pushing the screen. What actually you are trying.