26 Jul 2012 3:13 AM #1
Destroy appLoadingIndicator element
I think the framework should destroy the appLoadingIndicator element automatically after the app is initiated, since it unnecessarily keeps using (pretty heavily actually) the CPU while the app is running.
One official ST example (particles) is already doing the same thing I do in my app launch method:
26 Jul 2012 3:46 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
What if you wanted to keep the indicator around while sending a request to a server to see if a user is logged in? There are uses to allow the dev to destroy it when he/she chooses.Mitchell 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 firstname.lastname@example.org
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.
26 Jul 2012 3:48 AM #3
I'd imagine that you could add it to the painted event of the ext viewport or something?
Then your viewport wouldn't be painted until that user auth request is made?