28 Nov 2012 6:08 AM #1
Answered: "Reload" the app
I'm building a native app, I have a logout button that lead the user to the initial login screen, but I want to know if exist way to "clean" the app, like it was just loaded, I mean Stores clean, views destroyed etc.
You can destroy the views and removeAll on the stores. I wouldn't try to reload the app
30 Nov 2012 7:54 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
You can destroy the views and removeAll on the stores. I wouldn't try to reload the appMitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
30 Nov 2012 8:36 AM #3