Closed nikiforosper closed 1 year ago
you can directly access and set the itemList property of the controller. you can also remove items from the list you are going to add before adding it, by comparing it against the list of existing items.
I resolved this with
_pagingController.itemList = _pagingController.itemList?.toSet().toList();
please close this issue then.
Using my api, data is added every second So, page 1 is loaded and it is ok. But when page 2 loads and new data is added, then page 2 contains some of the data from the page 1. For example:
My fetch Data function: