01-02-2012 01:31 AM
how to create like this
|| contain (array with limit 10) ||
|| loadmore || <-----button
after click button loadmore automaticly create
|| contain(array with limit 10) ||
|| contain2(array with limit 10) ||
|| loadmore || <--- button
any idea for my question??
01-02-2012 01:44 AM
I think you are trying to implement following:
Open A list with initial capacity of 10 elements, on click of load more button, capacity incremented by 10 elements.
To implement this you just need to set capacity of the list to 10 initially, and then increment this capacity by 10 on click of loadmore, and invalidate list field.
01-02-2012 01:51 AM
my data query from database, im agree with your idea... but i think if not effective... if i have 100 contain... on click i load 100contain to.... is very heave on connection...
any more idea? simple thinking... i need to save data1(read data 0-9) on screen then click button show data2(read data10-19) in bottom data2... so im not read data from data 0 any more...
01-02-2012 02:10 AM
01-02-2012 02:34 AM
you can insert rows on click listener in list, then you wont need to add 0-capacity anymore.