Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 640 Bytes

File metadata and controls

18 lines (9 loc) · 640 Bytes

#DiffUtil RecyclerView Example

We have a RecyclerView which includes two sections arranged vertically. Generally, we will show Items containing two string parameters, named title and description. Also, we wil have one boolean parameter named bookmarked.

List Sections

Section #1: This section is set to show bookmarked items.

Section #2: This section is set to show all the items.

Each section will contain elements which have one CheckBox and two TextViews. If the user checks the CheckBox, it will be added to bookmarked items section and vice versa.

image alt