Create dynamic lists with RecyclerView:
- RecyclerView makes it easy to efficiently display large sets of data. You supply the data and define how each item looks.
- Key classes:
- RecyclerView: the ViewGroup that contains the views corresponding to your data.
- RecyclerView.ViewHolder : Each individual element in the list is defined by a view holder object, and after the view holder is created, the RecyclerView binds it to its data.
- RecyclerView.Adapter : RecyclerView requests those views, and binds the views to their data, by calling methods in the adapter.
- LayoutManager : arranges the individual elements in your list.
>>
Plan your layout: