RecyclerView is a more advanced and flexible version of ListView. It was introduced with the Android L Developer Preview, but is also available as part of the Support Library.
RecyclerView
is a more advanced and flexible version of ListView
, introduced in the Android L Developer Preview but also backported to the Support Library. It is a container for large sets of views that can be recycled and scrolled very efficiently.
Yo use a RecyclerView
, an adapter (extending RecyclerView.Adapter
) and a layout manager (extending RecyclerView.LayoutManager
) must be provided. By default, RecyclerView
provides LinearLayoutManager
, which shows the items in a vertical or horizontal scrolling list.
Official Documentation
Tag Usage: