I\'m implementing an endless listview by loading more items to the arraylist in the onScrollStateChanged(...) method. If I\'m implementing this scheme for fetching more than 1 m
I think you should just keep the current entries and the one just before or after them(maybe 100),put this data to a cache.
When you scroll your listview,fetch more entries and update the cache as before(do not get 1 million at one time).