You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this._sourceDataItems.push(newDataItem(i,posts.names[i],"This is item description",posts.titles[i],posts.text[i],"res://"+posts.images[i].toLowerCase()));
60
-
}
61
-
else{
62
-
this._sourceDataItems.push(newDataItem(i,posts.names[i],"This is item description",posts.titles[i],posts.text[i],"res://"+posts.images[i]));
63
+
// Multiply items in JSON to simulate a far bigger data source
64
+
for(letmult=0;mult<100;mult++){
65
+
for(leti=0;i<posts.names.length;i++){
66
+
if(androidApplication){
67
+
this._sourceDataItems.push(newDataItem(i,posts.names[i],"This is item description",posts.titles[i],posts.text[i],"res://"+posts.images[i].toLowerCase()));
68
+
}
69
+
else{
70
+
this._sourceDataItems.push(newDataItem(i,posts.names[i],"This is item description",posts.titles[i],posts.text[i],"res://"+posts.images[i]));
Copy file name to clipboardExpand all lines: listview/src/app/examples/load-on-demand/fixed-size-auto-with-small-source/listview-fixed-size-auto-with-small-source.component.html
0 commit comments