Preload window
I have a tabgroup based app with a very large tableview on the second tab. When I click the second tab, that view is white for a second or two before showing the tableview.
Is there anyway I could load window2 on tab2 while being on window1 on tab1?
4 Answers
-
I have a similar issue, and would be interested if anyone has a solution. Bumping.
-
Can you paste the codes ., it will be helpful for us to detect what is actually going on inside…
-
I'm not aware of a way to preload windows in tabs - what you can do is display some feedback to the user that the table is being populated. If you're doing a remote service request to populate the table, you can display a spinner/indicator of some kind. You might also consider doing a
setData
twice on the table. Do onesetData
with a single row that says "Loading…" or something similar, and then replace the table view with real data when it is ready. -
check this
http://pastie.org/1090466
if this is not u r looking for then provide some more details..