Infinite Scroll using variable Mobile Outsytem

Infinite Scroll using variable Mobile Outsytem

  

So, instead of using Database/Local Storage, i want to use local variable in OnScrollEnding. Is that possible?

Thanks.

Hi Ervin,

What do you mean use a local variable? as the source of the data to display? if that's the case... as far as I know you don't need to use OnScrollEnding at all, the List automatically implements a virtualisation mechanism that only adds to the DOM the elements that should be visible, so when you scroll it dynamically adds/removes elements to the DOM to display your list as smoothly as possible.