I have a ScrollView composed by views whose content is loaded asynchronously. The elements can be ideally infinite so I decided to wrap them in LazyVStack.
The problem is that the async content takes some times to load so when scrolled it appears after some time. I would like to start their loading a little before. Exist a way to make LazyVStack thinks the displayed view is a little larger?
ScrollView {
LazyVStack {
ForEach(modelURLs) { modelURL in
AsyncModel(url: modelURL)
}
}
}