Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Appcelerator Titanium TableView takes long time to load

$
0
0

I have a controller in which I have a table view like this:

<TableView id="reservedScroll"  dataCollection="queue"  dataTransform="transformFunction"  dataFilter="reservedByDate"  layout="vertical" >
(some rows) 
</TableView>

I create 6 object of this controllers and push them into a scrollable view

for (var i = 6; i >= 0; i--) {
        $.scrollableView.addView(Alloy.createController('dateQueues', {index : i}).getView());
    }
In this case I filter the collection 6 times (filtering each table by different date)

The problem is it's taking really long time to load (about 15-20 seconds) , so it made me wonder if my solution is a good titanium programming practice.

Any thoughts? thanks!


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>