Widgets and Storyboard API

John ContiFebruary 23rd, 2012 at 8:11 pm
I have successfully worked around the problems with widgets in storyboard scenes as discussed above. My difficulty is that recreating my widgets for each scene means I have no caching of scenes as I had hoped to have from this api.

My questions are then:

  1. Are there fixes in the works, soon?
  2. Can I construct my tableviews and cache them myself.
  3. If so, do I add and remove them to the view property to maintain the same ordering with respect to tabviews and masthead panels?

Thanks,
John [import]uid: 90892 topic_id: 22368 reply_id: 322368[/import]

The limitation of using widget in storyboard does not exist any longer. I have been using them for a while. Only pain is native objects like map. [import]uid: 19297 topic_id: 22368 reply_id: 89163[/import]

What makes you say this? I have listviews that stop responding to events after several transitions. I would love to know how to solve the issue!

Thanks,
John
[import]uid: 90892 topic_id: 22368 reply_id: 89226[/import]

I guess I would now call this a Showstopper. I cannot move forward on my app if the interface will not run a listview inside a storyboard for more than a few transitions without freezing.

I am scheduled to present at the Boise Code Camp on doing business apps with Corona next weekend, but I can’t feel good about doing a presentation when Corona appears to have serious issues with no comment from Ansca.

My client is loosing hope that I will be able to complete their app, and I don’t have much to offer them.

Are fixes for this functionality coming?

Thank you,
John
[import]uid: 90892 topic_id: 22368 reply_id: 94358[/import]

john, I can’t say I’ve seen this issue, although my listView usage might not be quite as heavy duty as you. What build number are you using this with? Lists have been updated a couple times recently.

Is it really a problem to remove the list and remake it every time you reenter the scene? No matter what, the individual rows re-render anyways (with the latest builds anyways). [import]uid: 87138 topic_id: 22368 reply_id: 94385[/import]

I am using Version 2012.760 (2012.12.8).

My lists are long grouped list of names, offices etc. Up to 100 entries (though often not that long). The issue is well documented under the storyboard API FAQ. All runs fine under the simulator. On the device however, widgets freeze after a few storyboard transitions.

The workaround suggested on the FAQ works fine on the simulator, but results in a couple of seconds of delay when running on a device like a 3GS. Too slow for any user to accept.

I am fully willing to admit to being an early adopter for Corona’s widgets. I just would like a little bit of insight so I can understand where we are.

Thank you,
John
[import]uid: 90892 topic_id: 22368 reply_id: 94637[/import]