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

Method createNativeView

packages/core/ui/button/index.android.ts:65–71  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64 @profile
65 public createNativeView() {
66 if (!AndroidButton) {
67 AndroidButton = android.widget.Button;
68 }
69
70 return new AndroidButton(this._context);
71 }
72
73 public initNativeView(): void {
74 super.initNativeView();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected