I'm new to android programming, and I've been reading a lot about it lately. One of the features of ListView
, if I understood it right, is that it recycle views and just replaces it with new data when an item is off the screen.
And just a few minutes ago, I was reading up about endless scrolling, and RecyclerView
has been one of the popular choices to implement such a feature. So I looked up RecyclerView
, and in this video, it is mentioned that RecyclerView
recycles a view automatically to reuse it for new data (as a way to contrast its difference with ListView
).
Did I misunderstand ListView
about its recycling mechanism? Or if it does recycle, how do you actually implement (or how do you know you are implementing) it?