Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

NativeScript, Sample-Cuteness from GitHub, ListView Items Array, Does the length of array has to be fixed?

$
0
0

Hi all,

In this project, sample-cuteness: https://github.com/NativeScript/sample-cuteness

it return json from web service and load data into a virtual array. And bind that array to a ListView to show the data. As scrolling down the listview, more data would be returned and loaded.

It creates a virtual array with specific length, 1000, and it seems that web service could return more than that.

My questions is does the length of array that bind to listview as to be specific?

Since I created my app and return less data than the array, and there would be blank rows at the end. What if the return data exceeds the length?

thank you!


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>