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

Function notifyForItemAtIndex

packages/core/ui/list-view/index.ios.ts:103–116  ·  view source on GitHub ↗
(listView: ListViewBase, cell: any, view: View, eventName: string, indexPath: NSIndexPath)

Source from the content-addressed store, hash-verified

101}
102
103function notifyForItemAtIndex(listView: ListViewBase, cell: any, view: View, eventName: string, indexPath: NSIndexPath) {
104 const args = <ItemEventData>{
105 eventName: eventName,
106 object: listView,
107 index: indexPath.row,
108 section: indexPath.section,
109 view: view,
110 ios: cell,
111 android: undefined,
112 };
113 listView.notify(args);
114
115 return args;
116}
117
118@NativeClass
119class DataSource extends NSObject implements UITableViewDataSource {

Calls 1

notifyMethod · 0.65

Tested by

no test coverage detected