Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
Using this component a list with millions of items can be rendered without a drop in performance. It does that by “lazily” loading elements into the DOM when they come into view and removing items from the DOM when they are not visible.
Click here to see the original article
tienlbhoc last edited by
I need load data with async function with callback, how to using with ons-lazy-repeat because i can’t return data in delegate.createItemContent
@tienlbhoc Look at “load more” functionality (onInfiniteScroll, without lazyRepeat). That’s a better way to deal with async calls. Otherwise, in
delegate.createItemContentyou can synchronously return an empty new item and then asynchronously modify its content when the data is ready.