Need clarification for ons-lazy-repeat
I want some clarification for using ons-lazy-repeat .Because it destroys object while i scroll up. i have to call database again for That object . it will make lot of database call.So it correct way for lazy load.Help me
@Abiraman-Ramanathan That is the correct behavior in order to manage memory correctly. If you are not loading millions of records or images, you could use an array to store your results client side and load from that. Technically, the results object would not be overwritten if you call your DB once and then use that to load the list as you go.
This is referenced here: https://onsen.io/guide/overview.html#UsingLazyRepeat
In this section:
configureItemScopecontains the information about the items, which can be dynamically created or loaded from a array of items.