()
| 829 | } |
| 830 | |
| 831 | public initNativeView(): void { |
| 832 | super.initNativeView(); |
| 833 | |
| 834 | if (this.needsOnLayoutChangeListener()) { |
| 835 | this.setOnLayoutChangeListener(); |
| 836 | } |
| 837 | |
| 838 | if (!this.insetListenerIsSet && this.needsInsetListener) { |
| 839 | this.setInsetListener(); |
| 840 | } |
| 841 | } |
| 842 | |
| 843 | public needsOnLayoutChangeListener() { |
| 844 | return this.hasListeners(ViewCommon.layoutChangedEvent); |
no test coverage detected