01-01-2014 11:20 AM
Definately not, sorry.
What you are trying to do is show the indicator until you get data back, so start the ActivityIndicator on the page load by all means but the stop should be initiated from when the data has been loaded. There are many signals you can tie in to but when you get that signal then you should stop the ActivityIndicator.
In the example given you'll see they use the sql data reply to remove the indicator, depending on your data model you should be able to find a suitable signal as well.
01-01-2014 11:29 AM
01-01-2014 11:37 AM
01-01-2014 11:38 AM
01-01-2014 11:42 AM - edited 01-01-2014 11:56 AM
01-01-2014 12:15 PM
01-01-2014 12:45 PM
You should be loading the data asynchronously, using either one of the workers or threading...
You shouldn't need a timer at all just run the thread when the page is first loaded.