Oct 11, 2022
While filtering we need to change whole list and update all items in recyclerview so notifyDatasetChanged is used.
Ps. for replacing we can use ListAdapter submitList();
While filtering we need to change whole list and update all items in recyclerview so notifyDatasetChanged is used.
Ps. for replacing we can use ListAdapter submitList();