MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / onLoaded

Method onLoaded

packages/core/ui/page/index.android.ts:48–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47 @profile
48 public onLoaded() {
49 super.onLoaded();
50 if (!this.hasActionBar && this.actionBarHidden !== true) {
51 // ensure actionBar is created
52 // but we only need to do that if the actionBarHidden is not hidden
53 this.actionBar = new ActionBar();
54 }
55 if (this.hasActionBar) {
56 this.updateActionBar();
57 }
58 }
59
60 private updateActionBar() {
61 // the test is actually to ensure the actionBar is created

Callers

nothing calls this directly

Calls 1

updateActionBarMethod · 0.95

Tested by

no test coverage detected