Skip to content
This repository has been archived by the owner on Jun 17, 2023. It is now read-only.

support infinite loop model #34

Closed
azureplus opened this issue Dec 8, 2020 · 2 comments
Closed

support infinite loop model #34

azureplus opened this issue Dec 8, 2020 · 2 comments

Comments

@azureplus
Copy link

support infinite loop model

@amirdew
Copy link
Owner

amirdew commented Mar 3, 2021

You can achieve infinite loop by returning a large number for the number of items and then scroll to the middle at start, take a look at CardsViewController.swift
make sure you specify numberOfVisibleItems then the large number has no effect on the performance

@amirdew amirdew closed this as completed Mar 3, 2021
@mikepitre
Copy link

@amirdew how would you suggest achieving this in SwiftUI?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants