()
| 151 | } |
| 152 | |
| 153 | public focus(): boolean { |
| 154 | const nativeView = this.nativeTextViewProtected; |
| 155 | if (!nativeView) { |
| 156 | return; |
| 157 | } |
| 158 | |
| 159 | const result = super.focus(); |
| 160 | if (result) { |
| 161 | ad.showSoftInput(this.nativeTextViewProtected); |
| 162 | } |
| 163 | |
| 164 | return result; |
| 165 | } |
| 166 | |
| 167 | public _setInputType(inputType: number): void { |
| 168 | const nativeView = this.nativeTextViewProtected; |