HELP!!: Director and Tabbar Widget

I have everything in order for this to work but the issue I am having is the transitions are so SLOW on the device. In the simulator, transitions are FAST and the way I want them to be. Anyone attempted to used this two together. It takes a couple seconds for the tabbed screen to show up? Every screen is getting cleaned up after the screen changes.

Classes I am using:

director = require(“director”)
tableView = require(“tableView”)
scrollView = require(“scrollView”)
widget = require(“widget”)

I am using build 703 on Windows platform, building for android. Any help from anyone would be much appreciated. I am ready for market release, but transitions to different screen is holding me back. I will attempt to build on MAC to see if it makes a difference. [import]uid: 71201 topic_id: 19946 reply_id: 319946[/import]

It could be your test device and lag. What phone are you testing the app on?

Regards,
Jordan Schuetz
Ninja Pig Studios
[import]uid: 29181 topic_id: 19946 reply_id: 77654[/import]

I am testing on a HTC Sensation. [import]uid: 71201 topic_id: 19946 reply_id: 77753[/import]

I’m using the both and they’re working fine for me (Build 722)… Perhaps it’s your build? [import]uid: 14018 topic_id: 19946 reply_id: 78800[/import]

I went and upgraded to build 704, no change. Build for android device on MAC no change. Something is still slowing it down. I will try the latest daily build. I wanted to stick to 704 because it is the last build that supports iOS less than 4.3. [import]uid: 71201 topic_id: 19946 reply_id: 79228[/import]

Hey, NexGen Group, I’m using build 706, and I believe it’s the last build that supports iOS less than 4.3. (Not sure if using 706 would make any difference with the issue you’re having, but I thought I’d mention.)

Naomi [import]uid: 67217 topic_id: 19946 reply_id: 79234[/import]

That good to know @Naomi [import]uid: 71201 topic_id: 19946 reply_id: 79238[/import]

By slow do you mean that the transition is smooth but slow or is it just choppy and slow performance? [import]uid: 14018 topic_id: 19946 reply_id: 79331[/import]

By slow I mean:

-when I click to go to another tab, it is “delayed” to show that screen. Currently I have no transitions, so the screen should show up instantly, like in the simulator.

-Once on that screen, performance is fine for that page

-The problem is only when I am going from one screen to another. I was reading about storyboards changescreen delay, it has very similar issues I am having:
http://developer.anscamobile.com/forum/2011/12/03/initial-delay-storyboardgotoscene

I am not sure if its the cleanup that taking so long to do, and then display the new screen or the building of the screen.

My cleanup only consist of removeEventListners, tableView:cleanup, scrollView:cleanup, and widget cleanup.

[import]uid: 71201 topic_id: 19946 reply_id: 79439[/import]

Do you execute sql queries in the second screen? Sql queries have a tendency to cause these types of issues… If it’s not that then I’d say try single out which screen the problem actually is in, change the second screen to some other screen and see if the delay still happens. I don’t think it’s your clean up… [import]uid: 14018 topic_id: 19946 reply_id: 79451[/import]

I have 4 screens total with 4 tabs. screeens consist as follows

Main.lua: has widget tabbar with 4 buttons
Screen1: tableview list with photos. tableView.lua, not widget. titlebar using widget tabbar with embossed text

Screen2,3,4: scrollView. 4 graphics, wrapped text, scrollView.lua, not widget. titlebar using widget tabbar with embossed text

None are doing SQL queries. Changing to any screen is delayed. ie 1->2, 2->3, 3->4, 4->2…

[import]uid: 71201 topic_id: 19946 reply_id: 79459[/import]