Skip to content

1.1.0

Choose a tag to compare

@prachigauriar prachigauriar released this 17 Sep 22:47
· 18 commits to main since this release

This release adds support for initializing SequentialPagers and RandomAccessPagers with loaded pages. Both types’ initializers are now spelled init(pageLoader:loadedPages:). The latter parameter is an array of previously loaded pages that is empty by default.

This change enables more easily using pagers with previously loaded pages. For example, some web services might return the first page of results as part of a larger payload. In such a case, the page could be initialized with that first page, and the page loader will only be required to load subsequent pages.