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

Method disposeNativeView

packages/core/ui/image/index.android.ts:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 }
68
69 public disposeNativeView() {
70 if ((<any>this.nativeViewProtected)?.listener) {
71 (<any>this.nativeViewProtected).listener.owner = null;
72 }
73 super.disposeNativeView();
74 }
75
76 public resetNativeView(): void {
77 super.resetNativeView();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected