()
| 27 | } |
| 28 | |
| 29 | public initNativeView(): void { |
| 30 | super.initNativeView(); |
| 31 | |
| 32 | this._tapHandler = TapHandlerImpl.initWithOwner(new WeakRef(this)); |
| 33 | this.nativeViewProtected.addTargetActionForControlEvents(this._tapHandler, 'tap', UIControlEvents.TouchUpInside); |
| 34 | this._setDefaultPaddings(this.nativeViewProtected.contentEdgeInsets); |
| 35 | } |
| 36 | |
| 37 | public disposeNativeView(): void { |
| 38 | this._tapHandler = null; |
nothing calls this directly
no test coverage detected