Android Endless list memory management -
i'm implementing endless listview loading more items arraylist in onscrollstatechanged(...) method. if i'm implementing scheme fetching more 1 million entries, have million objects added arraylist, memory intensive. schemes can use efficient memory management ?
ps: question number of items can put adapter. edit:
more details:
the source of data internet. have fetch data internet , put listview adapter.
i think should keep current entries , 1 before or after them(maybe 100),put data cache.
when scroll listview,fetch more entries , update cache before(do not 1 million @ 1 time).
Comments
Post a Comment