What does the trackBy equivalent in RecyclerView, DiffUtil, provide?
- A Efficient updates by computing the minimal set of item changes
- B Automatic scrolling
- C Data caching
- D View recycling itself
Answer
Efficient updates by computing the minimal set of item changes
Calling notifyDataSetChanged rebinds everything and loses animations, whereas DiffUtil updates only what actually changed.





