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

Function generateItemId

packages/core/ui/action-bar/index.android.ts:21–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19let AppCompatTextView;
20let actionItemIdGenerator = ACTION_ITEM_ID_OFFSET;
21function generateItemId(): number {
22 actionItemIdGenerator++;
23
24 return actionItemIdGenerator;
25}
26
27function loadActionIconDrawableOrResourceId(item: ActionItemDefinition): any {
28 const itemIcon = item.icon;

Callers 1

constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected