* Clean up references to the native view.
()
| 1094 | * Clean up references to the native view. |
| 1095 | */ |
| 1096 | public disposeNativeView() { |
| 1097 | // Unset these values so that view checks for resize the next time it's added back to view tree |
| 1098 | this._oldLeft = 0; |
| 1099 | this._oldTop = 0; |
| 1100 | this._oldRight = 0; |
| 1101 | this._oldBottom = 0; |
| 1102 | |
| 1103 | this.notify({ |
| 1104 | eventName: ViewBase.disposeNativeViewEvent, |
| 1105 | object: this, |
| 1106 | }); |
| 1107 | } |
| 1108 | |
| 1109 | /** |
| 1110 | * Initializes properties/listeners of the native view. |