I was wondering how to handle very large lists using CWAC's endless adapter.
My main concern is about memory management. If I cache thousand's of items I will end up with an out of memory exception. So how do I handle that cache ? Can I clear earlier entries ?
As far as I understood it, the endless adapter will only fire its cacheInBackground() method and appendCachedData() when we scroll the list down. What if I want to clear the cache for earlier entries (top of the list) that are not visible anymore ?
How will the endless adapter behave when I scroll back up ? In other words is the endless adapter bi-directional ? If not, can I work around that limitation ?
Thanks in advance.