MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / _onItemsChanged

Method _onItemsChanged

packages/core/ui/repeater/index.ts:149–152  ·  view source on GitHub ↗
(data: ChangedData<any>)

Source from the content-addressed store, hash-verified

147 }
148
149 public _onItemsChanged(data: ChangedData<any>) {
150 // TODO: use the event args and optimize this code by remove/add single items instead of full rebuild.
151 this._requestRefresh();
152 }
153
154 public _getDefaultItemContent(index: number): View {
155 const lbl = new Label();

Callers

nothing calls this directly

Calls 1

_requestRefreshMethod · 0.95

Tested by

no test coverage detected