notifyDataSetChanged() is called after updating the list to:
- Show a Toast
- Delete the adapter
- Download the data
- Tell the RecyclerView to redraw its rows with the new data
Answer
D) Tell the RecyclerView to redraw its rows with the new data
It signals that the data set changed.
Computer Science MCQ · More Lab: Displaying Data from an API MCQs · Practise