RecyclerView.Adapter.notifyItemRangeInserted
doesn't work as suggested for paging option in the documentation.
The list is successfully getting updated but the cards are not getting displayed even after the notifyItemRangeInserted is called
As the developer wrote notifyDataSetChangedcauses adapter to reinitialize which is not good for performance.
RecyclerView.Adapter.notifyItemRangeInserted
doesn't work as suggested for paging option in the documentation. The list is successfully getting updated but the cards are not getting displayed even after thenotifyItemRangeInserted
is calledAs the developer wrote
notifyDataSetChanged
causes adapter to reinitialize which is not good for performance.