ste
10/22/2022, 2:15 PMLazyLayoutPrefetchState
in a custom LazyLayout
to prefetch the previous page and the next one (e.g. in "A, B, C, D, E", I prefetch A and C). However, pages can be swapped (e.g. "A, B, E, C, D"). How can I handle such thing? How can I tell the Prefetcher
the item at index 2 has changed? Is LazyLayoutItemProvider
involved at all?ste
10/22/2022, 2:29 PMPrefetchHandle
whenever a reordering occurs seems to do the trick. But would love to know more about itAndrey Kulikov
10/24/2022, 1:36 PMste
10/24/2022, 2:23 PMAndrey Kulikov
10/24/2022, 2:27 PM