PDA

View Full Version : Caching the navstack




mpramodjain
Jan 21, 2011, 11:44 AM
I had a requirement for an application as follows :

The app should be started from the same state (screen),where it has last exited. For eg: I am viewing 3rd or 5th screen of the drill down navigation of UITableView selection on each screen.

When user again starts the app , the application should start with the same state.

Can it be possible to cache the navigation stack (UINavigation Controller) and again updating the nav stack at start of the app.

Thanks in advance.



ulbador
Jan 21, 2011, 12:31 PM
The DrillDownSave example should put you on the right path. I think it does exactly that with a NavController.