()
| 75 | } |
| 76 | |
| 77 | public initNativeView(): void { |
| 78 | super.initNativeView(); |
| 79 | const nativeView = this.nativeViewProtected; |
| 80 | // default values |
| 81 | nativeView.minimumValue = 0; |
| 82 | nativeView.maximumValue = this.maxValue; |
| 83 | this._changeHandler = SliderChangeHandlerImpl.initWithOwner(new WeakRef(this)); |
| 84 | nativeView.addTargetActionForControlEvents(this._changeHandler, 'sliderValueChanged', UIControlEvents.ValueChanged); |
| 85 | } |
| 86 | |
| 87 | public disposeNativeView(): void { |
| 88 | this._changeHandler = null; |
nothing calls this directly
no test coverage detected