ここで pages: 総ページ数 collection: 全要素含むコレクション itemsInPage: 1ページ内の要素数 説明(見たまんまだけど・・・) Skip(itemsInPage)で各ページの先頭要素が取れるので、それを数え上げれば、ページ数っていう仕組み。 Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationYou can use dark themeWhat you can do with signing up