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

Method actionBar

packages/core/ui/frame/index.android.ts:655–667  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

653 }
654
655 public get actionBar(): android.app.ActionBar {
656 const activity = this.currentActivity;
657 if (!activity) {
658 return undefined;
659 }
660
661 const bar = activity.getActionBar();
662 if (!bar) {
663 return undefined;
664 }
665
666 return bar;
667 }
668
669 public get currentActivity(): androidx.appcompat.app.AppCompatActivity {
670 let activity = this.activity;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected