EdsonBueno / infinite_scroll_pagination

Flutter package to help you lazily load and display pages of items as the user scrolls down your screen.
https://pub.dev/packages/infinite_scroll_pagination
MIT License
626 stars 213 forks source link

_nextKey is null #243

Open rizaldi-wiratama opened 1 year ago

rizaldi-wiratama commented 1 year ago

Hello @EdsonBueno first of all thankyou for this great package

i recently have an issue reported on our sentry about this package like this image

then i search about this & found that this code is the issue , that _nextKey is null image

i think this issue is rare case and we just got 4 event in same user image

oh yeah i use PagedListView like this image

is there a case that the problem may exist? because now i can't reproduce this issue or maybe do you have any suggestion / solution based on this issue? thankyou

rizaldi-wiratama commented 1 year ago

If anyone have same issue/solution for this issue please feel free to comment thankyouu :)

clragon commented 7 months ago

Its possible the PageController is somehow disposed between this check and the next frame. We could add a safety check.