3. Bina Nusantara Kemanggisan
A RecyclerView is used to repeat views and to display dynamic lists.
RecyclerView are made up of a few components
● Adapter
● Layouts
RecyclerView
4. Bina Nusantara Kemanggisan
Adapters are used to manage data in the RecyclerView
Adapters usually have methods of binding data to the RecyclerView layout
Adapter
5. Bina Nusantara Kemanggisan
Layouts are the design of the RecyclerView.
Layouts are designed for a single list item, and will be repeated for each data.
Layout
6. Bina Nusantara Kemanggisan
DiffUtils are used in RecyclerViews to add new items to
the dynamic list. It’s main purpose is to differentiate between
the old and the new RecyclerView list and update it accordingly
DiffUtil
7. Bina Nusantara Kemanggisan
A dictionary is a class made for the purpose of list management.
Dictionaries usually contain methods of getting the list data or generate data.
Dictionary
8. Bina Nusantara Kemanggisan
ViewHolders are usually in RecyclerView Adapters and
is a part of the adapter that is going to bind data to the layout.
ViewHolder