js: list add reload api

This commit is contained in:
pengfei.zhou
2022-08-16 17:44:03 +08:00
committed by osborn
parent 7dda15efbd
commit 3de2162ef6
12 changed files with 56 additions and 3 deletions

View File

@@ -3500,6 +3500,9 @@ class List extends Superview {
this.cachedViews.clear();
this.itemCount = 0;
}
reload(context) {
return this.nativeChannel(context, 'reload')();
}
getItem(itemIdx) {
let view = this.renderItem(itemIdx);
view.superview = this;

File diff suppressed because one or more lines are too long