News for hackers. Stuff that matters.
Re:Google’s suggestion for a better infinite scroll? by smoyer on Friday February 28, 2014 @04:48AM (#7317879)
Is it? I was going to add it to the list, but the Adapter that manages the data actually generates (and caches) a View for each element. Is there something I'm not understanding?
Re:Google’s suggestion for a better infinite scroll? by RyanZAG on Friday February 28, 2014 @05:04AM (#7317909)
Yep it is. The Adapter will generate and cache a view for each item - but once the view moves off the screen, the adapter will reclaim/recycle that view, and the next item to request a view will be given the recycled view. In effect it is identical to the ios or flash list model.
Re:Google’s suggestion for a better infinite scroll? by smoyer on Friday February 28, 2014 @05:45AM (#7318028)
Cool ... I knew I was passed back a "convertView" sometimes but didn't realize it was recycling them.