I need to enable lazy loading in the ionic app, I’m using infinite scroll. I have confusions in the implementation.
My app will give a list of items which are closer to the user, in this list I want to implement lazy loading. List items are not static though.
Approach 1: pass latitude, longitude and page count.
Approach 2: pass latitude, longitude and last item id.
There should not be duplicates or item missing in the list. Anybody knows any better implementation idea?
Thanks in advance