zhishidapang / SwiftUI-Pagination-preload

SwiftUI-Pagination-preload is a user-oriented project that implements the paging function.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SwiftUI List Pagination base RandomAccessCollectoin

Introduction


Pagination code is from crelies'List-Pagination-SwiftUI. I made a complete project with reference to crelies' code

SwiftUI-Pagination-preload is a user-oriented project that implements the paging function.

Features

  • define struct implement Identifiable
  • use RandomAccessCollection to get isLastItem function
  • SwiftUI show data
  • preload data

About

SwiftUI-Pagination-preload is a user-oriented project that implements the paging function.


Languages

Language:Swift 100.0%