clragon

Results 138 comments of clragon

The package does not prevent running multiple refreshes at once, which can lead to the data being messed up. You can try to prevent multiple refreshes from happening by having...

You have to update the state of the PagingController with your error.

okay, I have understood the nature of this issue better with some investigation. What happens is that when multiple paged views are hooked up to the same paged controller, and...

I think my usage of the PagingController and the base structure of the package are clashing. In my extension of the PagingController, a single item providing callback has to be...

thats not a very nice solution because this will lead to 2 API calls, which means more network traffic.

this issue can be traced back to exactly this place in the code: [line 160-172 in `paged_layout_builder.dart`](https://github.com/EdsonBueno/infinite_scroll_pagination/blob/develop/lib/src/widgets/helpers/paged_layout_builder.dart#L160-L172) ```dart listener: () { final status = _pagingController.value.status; if (status == PagingStatus.loadingFirstPage) {...

fun news, I found out that there are even more unrelated ways that the view can trigger duplicated requests. I have absolutely no idea how it happens, but it _can_...

@ahetawal-p that's because you aren't supposed to notify the page request listeners after calling refresh, it already does that itself.

here's a fun workaround: if you generate all your models with freezed, they will now be equal if their fields are equal. you now just have to `toSet().toList()` on all...

flutter staggered grid has changed alot during versions so upgrading isnt simple. instead, staggered grid view could be removed as dependency.