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

Method createNativeView

packages/core/ui/switch/index.android.ts:41–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

39 public checked: boolean;
40
41 public createNativeView() {
42 return new android.widget.Switch(this._context);
43 }
44
45 public initNativeView(): void {
46 super.initNativeView();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected