We have a sample app that loads 10 records each from the db and shows in a table vioew. The next ten records are taken when the scroll reaches the bottom (like the sample of dynamic scroll view in kitchen sink and following the same sample code). However the app scrolling becomes slower and slower when the no of records increases and then crashes when we were showing close to 1000th record. We have even more records to show (10000) and all the rows shows an 50X50 image and two texts.

How does i do removal of top rows and retaining only 100 rows. I dont think it is possible in appclerator. About the standard row.. i am tetsing the same right now.. i see a performance increase (app didnt crash yet.. i am on row 1600) but the slow is still getting slower and slower.
–
AnandJul 6 '11 at 13:56

2

deleteRow. One way to make logic like this easier, for adding and removing rows, is to add a custom attribute to each row. Then, use that custom attribute to determine what needs to be loaded on the rows above or below.
–
BartJul 6 '11 at 14:16

i found that when i comment adding imgBird (image) then it loads much faster. I cant live without images there. Is it something to do with the code i have written
–
AnandJul 7 '11 at 8:14

1

Can use a "Simple" TableView with the "rightImage" or "leftImage" property? I think that is going to be your best bet as far as performance. Examples here.
–
BartJul 7 '11 at 13:33

Do you have sample to delete the rows using custom attributes.. We tried SimpleTableView and it is better now.. But however we would like the app to use as less memory as possible there by deleting the rows that are not in visible area
–
AnandJul 8 '11 at 7:48