tidev / titanium-cli

The Titanium Command Line (CLI) project
https://titaniumsdk.com/
Other
221 stars 95 forks source link

Updating UI view elements slow #239

Closed chrisribe closed 8 years ago

chrisribe commented 8 years ago

Hi,

I am having issues when displaying multiple labels (around 20 labels, inside views). If I try to update them (color and text) via a XHR call result you seen the labels change value one by one.

So updating a view can take me 3-5 seconds, which just does not work in my case. The question would be what is the best way to build a view that loads fast (create elements with proper data in them or update an empty shell?).

I have used createListView to build lists and use templates and that works pretty well, why is a simple view so slow??

NOTE: On the simulator I get rendering times under 100-200 ms and that's fine. On my old iphone 4 I get display times of 3-5 seconds so...

Thanks Chris

cb1kenobi commented 8 years ago

Hi @chrisribe, sorry, but this repo is for the Titanium CLI, not the Titanium SDK. Please use either Stack Overflow (https://stackoverflow.com/questions/ask/?tags=appcelerator) or file a ticket (http://jira.appcelerator.org/).