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

Method createNativeView

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

Source from the content-addressed store, hash-verified

479 }
480
481 public createNativeView() {
482 // Create native view with available _currentEntry occur in Don't Keep Activities
483 // scenario when Activity is recreated on app suspend/resume. Push frame back in frame stack
484 // since it was removed in disposeNativeView() method.
485 if (this._currentEntry) {
486 this._pushInFrameStack();
487 }
488
489 return new org.nativescript.widgets.ContentLayout(this._context);
490 }
491
492 public initNativeView(): void {
493 super.initNativeView();

Callers

nothing calls this directly

Calls 1

_pushInFrameStackMethod · 0.80

Tested by

no test coverage detected