mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Apply the fix, suggested by Github userx4080, issue 1371
This commit is contained in:
@ -151,11 +151,10 @@ export class ListView extends common.ListView {
|
|||||||
var length = keys.length;
|
var length = keys.length;
|
||||||
var view: viewModule.View;
|
var view: viewModule.View;
|
||||||
var key;
|
var key;
|
||||||
|
|
||||||
for (i = 0; i < length; i++) {
|
for (i = 0; i < length; i++) {
|
||||||
key = keys[i];
|
key = keys[i];
|
||||||
view = this._realizedItems[key];
|
view = this._realizedItems[key];
|
||||||
|
if (view[REALIZED_INDEX] < this.items.length) {
|
||||||
this.notify({
|
this.notify({
|
||||||
eventName: ITEMLOADING,
|
eventName: ITEMLOADING,
|
||||||
object: this,
|
object: this,
|
||||||
@ -165,6 +164,7 @@ export class ListView extends common.ListView {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var ListViewAdapterClass;
|
var ListViewAdapterClass;
|
||||||
function ensureListViewAdapterClass() {
|
function ensureListViewAdapterClass() {
|
||||||
|
Reference in New Issue
Block a user