Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Fade in after Loading

Hi All

I have noticed that when I’m loading a tableview from my database, it can take a few seconds to load and then appears. I have a loading wheel showing whilst this happens.

Its become more obvious since I started browsing the national trust app and it loads the content is there immediately and slides into view.

So is there away to fade the table into view once loaded to make it softer. Or if I was to use a plist, would that be a faster method and show the content instantly?

Plus, any pointers on updating a database via wifi would be fantastic!

— asked May 6th 2010 by Mark Pierce
  • animation
  • iphone
  • tableview
  • transition

1 Answer

  • Accepted Answer

    You can construct the table with opacity:0 and after you add it to the view/window set an animation from opacity 0 to 1, maybe with a small delay( 500ms )

    — answered May 6th 2010 by Dan Tamas
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.