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

Method canGoBack

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

Source from the content-addressed store, hash-verified

688 }
689
690 public canGoBack() {
691 if (!this.activity) {
692 return false;
693 }
694
695 // can go back only if it is not the main one.
696 return this.activity.getIntent().getAction() !== android.content.Intent.ACTION_MAIN;
697 }
698
699 public fragmentForPage(entry: BackstackEntry): any {
700 const tag = entry && entry.fragmentTag;

Callers 1

onBackPressedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected