RecyclerView Flashcards
What is the Recyclerview
RecyclerView is a library, containing a class by the same name, that facilitates the efficient and dynamic display of large sets of data on a screen when they are needed.
How does the RecyclerView work?
RecyclerView recycles the individual elements, for instance, when an item scrolls off the screen, RecyclerView doesn’t destroy its view, instead, it reuses the view for new items that have scrolled onscreen.
The data should be supplied in a defined way that determines how each item looks like. The RecyclerView does not determine the source or the formatting of the items.
What is the benefit of the RecyclerView
This reuse in a great way improves performance, improving an application’s responsiveness and reducing power consumption.