js: list add reload api
This commit is contained in:
@@ -3423,6 +3423,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;
|
||||
|
||||
Reference in New Issue
Block a user