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

Function makeFragmentName

packages/core/ui/tab-view/index.android.ts:32–34  ·  view source on GitHub ↗
(viewId: number, id: number)

Source from the content-addressed store, hash-verified

30let appResources: android.content.res.Resources;
31
32function makeFragmentName(viewId: number, id: number): string {
33 return 'android:viewpager:' + viewId + ':' + id;
34}
35
36function getTabById(id: number): TabView {
37 const ref = tabs.find((ref) => {

Callers 1

instantiateItemMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected