paololeonardi / WaterfallGrid

A waterfall grid layout view for SwiftUI.
MIT License
2.38k stars 115 forks source link

Lazy loading #42

Open jeremyimmanuel opened 4 years ago

jeremyimmanuel commented 4 years ago

Does this library support lazy loading where it doesn't load everything upfront but instead loads just visible elements?

Thank you!

kennylugo commented 4 years ago

Any updates?

andy-zhangtao commented 4 years ago

I reference this article https://swiftui-lab.com/scrollview-pull-to-refresh implement pull reflash. Maybe you can try it.

bootexe commented 3 years ago

yeah .onAppear on elements would be awesome !

metrue commented 3 years ago

@jeremyimmanuel Maybe you can try LazyVGrid, but it seems like it's not easy to implement a waterfall (I mean the cells have different heights ) collection with it

YunusDeveloper commented 3 years ago

Hey! Who has any idea to make this lazy loading?